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: | any |
|
| Default: | record |
|
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 |
Please send any comments or questions about CASA or AIPS++ to aips2-requests@nrao.edu
Copyright © 2008 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
Updated daily during alpha development.