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

3.2.1 return the column data type


Description

A column may contain various data types. This tool function returns the type of the column as a string.

Arguments





Inputs

columnname

Name of column

allowed:

string

Default:

Returns
string

Example

 
 
  tb.open("tcal")  
  tb.coldatatype("StartTime")  
# double  
  tb.open("tcal")  
  tb.coldatatype("Gain")  
# complex  
 

__________________________________________________________________


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