NRAO Home > CASA > CASA Toolkit Reference Manual
table.getcolkeywords - Function

3.2.1 get values of all keywords for a column


Description

The values of all keywords for the given column are returned. The values 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: ’.

Arguments





Inputs

columnname

Name of column

allowed:

string

Default:

Returns
anyvariant

Example

 
 
  tb.open("3C273XC1.MS")  
  tb.getcolkeywords("UVW")  
#{’MEASINFO’: {’Ref’: ’ITRF’, ’type’: ’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