NRAO Home > CASA > CASA Toolkit Reference Manual
sd.plotter.set_mask - Function

5.1.8 Set a plotting mask for a specific selection of the data
Description

Set a plotting mask for a specific polarization. This is useful for masking out ”noise” Pangle outside a source.

Arguments





Inputs

mask

allowed:

bool array

Default:

None

selection

The spectra to apply the mask to

allowed:

selector

Default:

None

refresh

If True, the plot is replotted based on the new parameter setting(s)

allowed:

bool

Default:

True





Returns

Example

         select = sd.selector()  
         select.setpolstrings("Pangle")  
         sd.plotter.set_mask(mymask, select)


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