Difference between revisions of "EditIntents"

From CASA Guides
Jump to navigationJump to search
Line 9: Line 9:
 
'''Usage:'''  
 
'''Usage:'''  
  
<tt>au.editIntents(msName, fieldID or fieldName, list of intents or comma-delimited string)</tt>
+
<tt>au.editIntents(msName, field, scan='', newintents='', help=False, append=False</tt>
 +
 
 +
  * intents can be a list of intents or a single comma-delimited string
 +
  * field (required): can be the field integer ID or string name
 +
  * scan (optional): can be a single integer or integer string
  
 
==Examples==
 
==Examples==

Revision as of 16:27, 18 April 2013

Return to Analysis Utilities

This page documents the editIntents function of Python module analysisUtils.

Sometimes the intents for a source specified in the ALMA Observing Tool (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. The available intents are: 'AMPLITUDE','ATMOSPHERE','BANDPASS','DELAY','FLUX','PHASE','SIDEBAND_RATIO','TARGET','WVR'.


Usage:

au.editIntents(msName, field, scan=, newintents=, help=False, append=False

  * intents can be a list of intents or a single comma-delimited string
  * field (required): can be the field integer ID or string name
  * scan (optional): can be a single integer or integer string

Examples

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

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