NRAO Home > CASA > CASA Toolkit Reference Manual
calanalysis.get - Function

2.1.2 Return the calibration data.


Description

This member function returns the calibration data.

Arguments





Inputs

field

The python comma-delimited string or list of strings containing the field names or numbers. The default is ”” (all fields).

allowed:

variant

Default:

antenna

The python comma-delimited string or list of strings containing the antenna 1s and antenna 2s. The default is ”” (all antenna 1s and antenna 2s).

allowed:

variant

Default:

timerange

The python list of floats of length two containing the start and stop times (in MJD seconds). The default is [] (the minimum start time and the maximum stop time).

allowed:

variant

Default:

spw

The python comma-delimited string containing the spectral window names and numbers along with their channel numbers. The default is ”” (all spectral windows and channels).

allowed:

variant

Default:

feed

The python comma-delimited string or list of strings containing the feeds. The default is ”” (all feeds).

allowed:

variant

Default:

axis

The python string containing the user-specified iteration axis. The allowed values are ”TIME” and ”FREQ”. The default is ”” (”FREQ”).

allowed:

string

Default:

TIME

ap

The python string which determines whether complex gains are converted to amplitudes or phases. The allowed values are ”AMPLITUDE” and ”PHASE”. The default is ”” (”AMPLITUDE”). This parameter is ignored when the ”gain” values in the calibration table are real.

allowed:

string

Default:

AMPLITUDE

norm

The python boolean which determines whether the amplitudes are normalized along each non-iteration axis. The default is False. This parameter is ignored when the ”gain” values in the calibration table are real or ap=”PHASE”.

allowed:

boolean

Default:

false

unwrap

The python boolean which determines whether the phases are unwrapped along each non-iteration axis. The default is False. This parameter is ignored when the ”gain” values in the calibration table are real or ap=”AMPLITUDE”.

allowed:

boolean

Default:

false

jumpmax

The python float which determines the maximum phase jump near +/- PI before unwrapping is performed. E.g., jumpmax = 0.1. The default is 0.0. It is ignored if the ”gain” values in the calibration table are real or ap = ”AMPLITUDE”. If the non-iteration axis is frequency: 1) if jumpmax == 0.0, use fringe fitting (only available when the non-iteration axis is time); 2) if jumpmax != 0.0, use simple unwrapping (same algorithm as used when the non-iteration axis is time or frequency).

allowed:

double

Default:

0.0

Returns
record

Example

 
# All data limited only by the spectral window and channel input  
data = ca.get( spw="0:4~15,1,2:10~20" )  

__________________________________________________________________


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