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

5.1.8 Set selection to the data
Description

Set selection to the data. The method allows both to set selector object directly and to pass arguments for constructor of the selector to create new selector object internally.

See selector for valid arguments for constructor of the selector.

Arguments





Inputs

selection

A selector object

allowed:

selector

Default:

None

refresh

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

allowed:

bool

Default:

True





Returns

Example

   # these are equivalent  
   sel=sd.selector(ifs=[0])  
   sd.plotter.set_selection(sel)  
   sd.plotter.set_selection(ifs=[0])


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