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

3.2.1 Get statistics on the selected table column


Description

This function computes descriptive statistics on the table column. It returns the statistical values as a dictionary. The given column name must be a numerical column. If it is a complex valued column, the parameter complex_value defines which derived real value is used for the statistics computation.

Arguments





Inputs

column

Column name

allowed:

string

Default:

complex_value

Which derived value to use for complex columns (amp, amplitude, phase, imag, real, imaginary)

allowed:

string

Default:

useflags

Use the data flags

allowed:

bool

Default:

true

Returns
record

Example

 
 
 
      tb.open("ggtau.1mm.amp.gcal")  
      s = tb.statistics(column="GAIN", complex_value="phase")  
 

__________________________________________________________________


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