NRAO Home > CASA > CASA Cookbook and User Reference Manual
3.5.1.1 Input mode ’table’

The default input mode is inpmode=’table’ which directs the task to input flag commands from a FLAG_CMD MS table. This has the sub-parameters:

inpmode             =    ’table’        #  Input mode for flag commands(table/file/xml/cmd)  
     inpfile        =         ’’        #  Source of flag commands  
     tablerows      =         []        #  Rows of inpfile to read  
     reason         =      ’any’        #  Select by REASON types  
     useapplied     =      False        #  Select commands whose rows have APPLIED column set to  
                                        #   True

If inpfile = ’’ then it will look for the FLAG_CMD table in the MS given by vis. You can use this sub-parameter to direct the task to look directly at another table.

The tablerows sub-parameter is a simple Python list of the row numbers of the table to consider in processing flags. The default is all rows.

The useapplied sub-parameter toggles whether only flag commands marked as not having been applied are considered (the default), or to allow (re)processing using all commands.

The reason sub-parameter selects the REASON type to process. The default ’any’ means all commands, note that reason=’’ would only select flags who have a blank REASON column entry.


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