NRAO Home > CASA > CASA Toolkit Reference Manual
sd.scantable.flag - Function

5.1.2 Flag selected data using specified mask (channel based flag)
Description

Flag the selected data using an optional channel mask. The appropriate value of the mask can be created with create_mask. If no mask is specified, all channels are flagged/unflagged depending on the unflag argument.

Note that the operation will always be applied to this scantable regardless of the value of sd.rcParams[’insitu’].

Arguments





Inputs

mask

An optional channel mask

allowed:

bool array

Default:

None (all channels)

unflag

If True, unflag the data

allowed:

bool

Default:

False





Returns

Example


More information about CASA may be found at the CASA web page

Copyright 2016 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