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

1.3.2 Get an array of the unique intents for the specified spectral window ID.


Description

Get an array of the unique intents for the specified spectral window ID.

Arguments





Inputs

spw

Spectral window ID (>=0) for which to return the intents.

allowed:

int

Default:

-1

Returns
stringArray

Example

 
    msmd.open("my.ms")  
    # get the intents associated with spectral window ID 3  
    intents = msmd.intentsforspw(3)  
    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