|NRAO Home > CASA > CASA Toolkit Reference Manual||
1.3.3 Set flags for all selected regions marked using mp.markregion()
Set flags for all regions marked using markflags(). The plot is automatically redrawn after applying flags.
If reduction TaQL functions such as sum,mean are used, flags corresponding to all accessed values will be modified. For example, with a measurement set table, flagging on the mean amplitude of stokes 1 and channels 1 to 5, given by ’MEAN(AMPLITUDE(DATA[1,1:5]))’ results in flags being set for all 5 accessed channels.
For a measurement set, by default, flags are set only for accessed channels and stokes when the DATA column is used. However all channels/stokes can be flagged for the marked flag regions by setting the corresponding row flag.
# mark 2 flag regions on a multi-panel plot, one in panel 1 and one
# in panel 2. Then apply the flags and write to disk.
More information about CASA may be found at the CASA web page
Copyright © 2016 Associated Universities Inc., Washington, D.C.