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

3.2.1 get values of all table keywords


Description

The values of all table keywords 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





Returns
record

Example

 
 
  tb.open(’3C273XC1.MS’)  
  tb.getkeywords()  
#{’ANTENNA’: ’Table: /home/aips2mgr/testing/3C273XC1.MS/ANTENNA’,  
# ’DATA_DESCRIPTION’: ’Table: /home/aips2mgr/testing/3C273XC1.MS/DATA_DESCRIPTION’,  
# ’FEED’: ’Table: /home/aips2mgr/testing/3C273XC1.MS/FEED’,  
# ’FIELD’: ’Table: /home/aips2mgr/testing/3C273XC1.MS/FIELD’,  
# ’FLAG_CMD’: ’Table: /home/aips2mgr/testing/3C273XC1.MS/FLAG_CMD’,  
# ’HISTORY’: ’Table: /home/aips2mgr/testing/3C273XC1.MS/HISTORY’,  
# ’MS_VERSION’: 2.0,  
# ’OBSERVATION’: ’Table: /home/aips2mgr/testing/3C273XC1.MS/OBSERVATION’,  
# ’POINTING’: ’Table: /home/aips2mgr/testing/3C273XC1.MS/POINTING’,  
# ’POLARIZATION’: ’Table: /home/aips2mgr/testing/3C273XC1.MS/POLARIZATION’,  
# ’PROCESSOR’: ’Table: /home/aips2mgr/testing/3C273XC1.MS/PROCESSOR’,  
# ’SOURCE’: ’Table: /home/aips2mgr/testing/3C273XC1.MS/SOURCE’,  
# ’SPECTRAL_WINDOW’: ’Table: /home/aips2mgr/testing/3C273XC1.MS/SPECTRAL_WINDOW’,  
# ’STATE’: ’Table: /home/aips2mgr/testing/3C273XC1.MS/STATE’}  
 

__________________________________________________________________


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