|
|||
NRAO Home > CASA > CASA Toolkit Reference Manual |
|
msmetadata.fieldsforname - Function
1.3.2 Get an array of the unique, zero-based field IDs for the specified field
name.
Description
Get an array of the unique, zero-based field IDs for the specified field name. If
the field name is the empty string (the default), a list of all unique field IDs in
the main table of the MS will be returned.
Arguments
Inputs |
| ||
name |
| Field name (case sensitive) for which to return the fields.
| |
| allowed: | string |
|
| Default: |
|
|
intArray
Example
msmd.open("my.ms")
# get the field IDs for field name "Enceladus"
fields = msmd.fieldsforname("Enceladus")
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