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

1.3.2 Get the values of the SOURCE_ID column from the SOURCE table.


Description

Get the values of the SOURCE_ID column from the SOURCE table. It is unfortunate that the SOURCE table has a column named SOURCE_ID, because implicitly the ”ID” of a row in an MS subtable is generally meant to reflect a row number in that table, but that is not the case for the SOURCE table.

Arguments





Returns
intArray

Example

 
    msmd.open("my.ms")  
    # get SOURCE_ID column values from the SOURCE table  
    sourceids = msmd.sourceidsfromsourcetable()  
    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