nraonrao
 
NRAO Home > CASA > CasaRef
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

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.