1.2.2 Set flags for all selected regions marked using mp.markregion()
Description
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.
Arguments
| Inputs |
| ||
Example
# 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. mp.markflags(subplot=221, region=[0,15,10,30]); mp.markflags(subplot=222, region=[15,30,10,30]); mp.flagdata(); |
Please send any comments or questions about CASA or AIPS++ to aips2-requests@nrao.edu
Copyright © 2008 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
Updated daily during alpha development.