NRAO Home > CASA > CASA Toolkit Reference Manual
msmetadata.wvrspws - Function

1.3.2 Get an array of spectral window IDs used for WVR. These are windows that have 4 channels.


Description

Get an array of spectral window IDs used for WVR. These are windows that have 4 channels. If complement is True, return the complement set instead (all non-wvr spw IDs).

Arguments





Inputs

complement

If True, return all non-wvr spws.

allowed:

bool

Default:

-false

Returns
intArray

Example

 
    msmd.open("my.ms")  
    # get the spectral window IDs used for WVR.  
    wvr_spws = msmd.wvrspws()  
    msmd.done()  

__________________________________________________________________


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