EditIntents: Difference between revisions

From CASA Guides
Jump to navigationJump to search
(Created page with "'''Return to Analysis Utilities''' This page documents the editIntents function of Python module analysisUtils.")
 
No edit summary
Line 2: Line 2:


This page documents the editIntents function of Python module [[Analysis Utilities|analysisUtils]].
This page documents the editIntents function of Python module [[Analysis Utilities|analysisUtils]].
Sometimes the intents for a source specified in the OT are incorrect, especially in Early Science. This problem can confound automatic processing scripts being developed for ES data reduction. To correct this problem, we have borrowed a script from John Lightfoot of the pipeline group, and made it a command-line utility rather than an interactive utility. We also added three additional intents (WVR, ATMOSPHERE and SIDEBAND_RATIO) in use by ALMA.
'''Usage:'''
<tt>au.editIntents(msName, fieldID or fieldName, list of intents or comma-delimited string)</tt>
==Examples==
<source lang="python">
au.editIntents('uid___A002_X142764_X24.ms', 0, 'DELAY,PHASE,WVR')
au.editIntents('uid___A002_X142764_X24.ms', '3c454.3', ['DELAY','PHASE'])
</source>

Revision as of 13:53, 16 December 2011

Return to Analysis Utilities

This page documents the editIntents function of Python module analysisUtils.

Sometimes the intents for a source specified in the OT are incorrect, especially in Early Science. This problem can confound automatic processing scripts being developed for ES data reduction. To correct this problem, we have borrowed a script from John Lightfoot of the pipeline group, and made it a command-line utility rather than an interactive utility. We also added three additional intents (WVR, ATMOSPHERE and SIDEBAND_RATIO) in use by ALMA.

Usage:

au.editIntents(msName, fieldID or fieldName, list of intents or comma-delimited string)

Examples

au.editIntents('uid___A002_X142764_X24.ms', 0, 'DELAY,PHASE,WVR')

au.editIntents('uid___A002_X142764_X24.ms', '3c454.3', ['DELAY','PHASE'])