NRAO Home > CASA > CASA Cookbook and User Reference Manual
3.5.1.4 Input flag mode ’cmd’

The input mode inpmode=’cmd’ directs the task to input flag commands from a Python list of strings. When set this opens the sub-parameters:

inpmode             =      ’cmd’        #  Input mode for flag commands(table/file/xml/cmd)  
     command        =       [’’]        #  flag command(s) as a list of strings

The command sub-parameter is the command string list, with one command per list element. For example:

command=["mode=’shadow’",  
         "mode=’clip’ clipminmax=[0,5] correlation=’ABS_ALL’",  
         "mode=’quack’ quackmode=’end’ quackinterval=1.0",  
         "antenna=’ea01’ timerange=’00:00:00~01:00:00’",  
         "antenna=’ea11’ timerange=’00:00:00~03:00:00’ spw=’0~4’"]

is a valid set of flagging commands. These are equivalent to the lines in an ASCII flagging command file for inpmode=’file’ and achive the same as in the ’cmd’ example shown in §3.4.2.2.


More information about CASA may be found at the CASA web page

Copyright © 2010 Associated Universities Inc., Washington, D.C.

This code is available under the terms of the GNU General Public Lincense


Home | Contact Us | Directories | Site Map | Help | Privacy Policy | Search