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

1.3.2 Get an array of the unique intents for the specified field.


Description

Get an array of the unique intents for the specified field.

Arguments





Inputs

field

Field ID or name for which to return the intents.

allowed:

any

Default:

variant -1

Returns
stringArray

Example

 
    msmd.open("my.ms")  
    # get the intents associated with field 4  
    intents = msmd.intentsforfield(4)  
    # get intents for field "MOS"  
    intents2 = msmd.intentsforfield("MOS")  
    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