|
|||
NRAO Home > CASA > CASA Toolkit Reference Manual |
|
msmetadata.sourceidforfield - Function
1.3.2 Get the source ID from the field table for the specified field ID.
Description
Get the source ID from the field table for the specified field ID.
Arguments
Inputs |
| ||
field |
| Zero-based field ID for which to return the source ID
from the field table.
| |
| allowed: | int |
|
| Default: | -1 |
|
int
Example
msmd.open("my.ms")
# get source ID associated with field ID 2
sourceid = msmd.sourceidforfield(2)
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