|
|||
NRAO Home > CASA > CASA Toolkit Reference Manual |
|
table.putcolkeywords - Function
3.2.1 put multiple keywords for a column
Description
Put multiple keywords in the given column. All fields in the given record are
put as column keywords. The value of each field can be a scalar or an array of
any type or it can be a record.
It is also possible to define a keyword holding a subtable. This can be done by
giving the keyword a string value consisting of the subtable name prefixed by
’Table: ’.
Arguments
Inputs |
| ||
columnname |
| Name of column | |
| allowed: | string |
|
| Default: |
|
|
value |
| Record of keyword=value pairs
| |
| allowed: | record |
|
| Default: |
|
|
bool
Example
tb.open("3C273XC1.MS", nomodify=False)
kws = tb.getcolkeywords("UVW")
kws
#{’MEASINFO’: {’Ref’: ’ITRF’, ’type’: ’uvw’},
# ’QuantumUnits’: array([’m’, ’m’, ’m’],
# dtype=’|S2’)}
kws[’MEASINFO’][’Ref’]=’B1950’
tb.putcolkeywords(kws)
# True
__________________________________________________________________
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