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

5.1.2 Get current selection that is currently set on this scantable
Description

Get the selection object currently set on this scantable.

Arguments

Returns
selector

Example

        scan = sd.scantable(’OrionS_rawACSmod’)  
        sel = scan.get_selection()  
        sel.set_ifs(0)              # select IF 0  
        scan.set_selection(sel)     # apply modified selection


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