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

3.2.1 is the specified column scalar?


Description

A column may contain either scalars or arrays in each cell. This tool function tests if the specified column has scalar contents.

Arguments





Inputs

columnname

Name of column

allowed:

string

Default:

Returns
bool

Example

 
 
  tb.open("tcal")  
  tb.isscalarcol("StartTime")  
# True  
  tb.open("tcal")  
  tb.isscalarcol("Gain")  
# False  
 

__________________________________________________________________


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