NRAO Home > CASA > CASA Cookbook and User Reference Manual
3.5.2.5 Clear flags — action=’clear’

The ’clear’ action will delete selected rows from the FLAG_CMD MS table. This choice opens the sub-parameters:

action              =    ’clear’        #  Action to perform in MS and/or in inpfile  
                                        #   (apply/unapply/list/plot/clear/extract)  
     clearall       =      False        #  Delete all rows from FLAG_CMD  
     rowlist        =         []        #  FLAG_CMD rows to clear

The rowlist sub-parameter is a simple Python list of the row numbers of the table to consider in processing flags. The default is a blank list which indicates the desire to clear all rows.

In either case, if clearall=False then nothing will happen by default as a safeguard. If clearall=True, then a blank list will direct the deletion of the selected rows from the table.

ALERT: Use this option with care. You can easily mess up the FLAG_CMD table.


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