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

1.3.2 Get a list of spectral window IDs with ALMA-specific attributes.


Description

Get spectral window IDs based on ALMA-specific criteria. The inputs are or’ed together to form the returned list. If complement=True, then the complement of the selection is returned.

Arguments





Inputs

chavg

Get channel average spectral windows?

allowed:

bool

Default:

false

fdm

Get FDM spectral windows?

allowed:

bool

Default:

false

sqld

Get square law (i.e. total power) detector spectral windows?

allowed:

bool

Default:

false

tdm

Get TDM spectral windows?

allowed:

bool

Default:

false

wvr

Get WVR spectral windows?

allowed:

bool

Default:

false

complement

Return the complement of the selected set?

allowed:

bool

Default:

false

Returns
intArray

Example

 
    msmd.open("my.ms")  
    # get all square law detector spectral window IDs  
    msmd.almaspws(sqld=True)  
    # get all spectral window IDs other than those associated with square law detectors  
    msmd.almaspws(sqld=True, complement=True)  

__________________________________________________________________


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