|
|||
NRAO Home > CASA > CASA Toolkit Reference Manual |
|
table.getcolkeyword - Function
3.2.1 get value of specific column keyword
Description
The value of the given column keyword is returned. The value can be of any
type, including a record and a table.
If a keyword is a table, its value is returned as a string containing the table
name prefixed by ’Table: ’.
It is possible that the value of a keyword is a record itself (arbitrarily deeply
nested). A field in such a subrecord can be read by separating the name with
dots.
Arguments
Inputs |
| ||
columnname |
| Name of column | |
| allowed: | string |
|
| Default: |
|
|
keyword |
| Name or seqnr of keyword: string or int
| |
| allowed: | any |
|
| Default: | variant |
|
anyvariant
Example
tb.open("3C273XC1.MS")
tb.getcolkeyword("UVW", "QuantumUnits")
#array([’m’, ’m’, ’m’],
# dtype=’|S2’)
__________________________________________________________________
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