|
|||
NRAO Home > CASA > CASA Cookbook and User Reference Manual |
|
3.4.2.2 List
# p/rflag/extend/unflag/summary)
inpfile = ’’ # Input file with list of commands to run
reason = ’any’ # Select by REASON types
A list of flags can be provided through a file specified by the inpfile parameter. Each input line may contain a flagging mode with data selection parameters as well as parameters that are specific to that mode. All parameters that are not set will be reset to their default values (default mode is ’manual’). Each line of this file will be taken as a command to the tflagdata task. This mode=’list’ is similar to the task flagcmd with the inpmode=’file’ option.
An example for such a file would be:
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’
The syntax should be written with quotes e.g. mode=’manual’ antenna=’ea10’ but will usually also be accepted without the quotes (like mode=manual antenna=ea10). Spaces are only allowed to separate pairs of parameters, not adjacent to the equal ’=’ signs or inside strings and there are no commas between the subparameters on each line.
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