NRAO Home > CASA > CASA Toolkit Reference Manual

Outputs

The get() and fit() member function return dictionaries of dictionaries. They both return this information (the ’#’ represents the iteration number):

[’#’][’field’] = The python string containing the field number.

[’#’][’antenna1’] = The python string containing the antenna 1 number.

[’#’][’antenna2’] = The python string containing the antenna 2 number.

[’#’][’feed’] = A python string containing the feed.

[’#’][’value’] = The numpy float array containing the parameters (either along the time or frequency axis) from the new format calibration table (if the table contains complex numbers, these numbers are either amplitudes or phases).

[’#’][’valueErr’] = The numpy float array containing the parameter errors (either along the time or frequency axis) from the new format calibration table (if the table contains complex parameters, these numbers are either amplitude or phase errors).

[’#’][’flag’] = The numpy boolean array containing the parameter flags.

[’#’][’abscissa’] = The python string containing the name of the non-iteration axis (’frequency’ or ’time’).

[’#’][’frequency’] = The numpy float array containing the frequencies. If the frequency axis is not an iteration axis, the frequencies correspond to the values, value errors, and flags. If the frequency axis is an iteration axis, this array has only one value.

[’#’][’time’] = The numpy float array containing the times. If the time axis is not an iteration axis, the times correspond to the values, value errors, and flags. If the time axis is an iteration axis, this array has only one value.

[’#’][’rap’] = The python string containing ’REAL’, ’AMPLITUDE’, or ’PHASE’, describing the values and their errors.

[’#’][’norm’] = The python boolean determining whether the amplitudes are normalized per iteration or not. It is not present for ’REAL’ or ’PHASE’ data.

[’#’][’unwrap’] = The python boolean determining whether the phases are unwrapped per iteration or not. It is not present for ’REAL’ or ’AMPLITUDE’ data.

[’#’][’jumpmax’] = The python float containing the maximum phase jump near +/- PI before unwrapping is performed. It is not present for ’REAL’ or ’AMPLITUDE’ data. If the non-iteration axis is ’frequency’:
- if jumpmax == 0.0, fringe fitting was used (only available when the non-iteration axis is time).
- if jumpmax != 0.0, simple unwrapping was unused (same algorithm as used when the non-iteration axis is time or frequency).

In addition to these entries, the fit() member function returns these:

[’#’][’order’] = The python string describing the fit order (’AVERAGE’, ’LINEAR’, or ’QUADRATIC’). ’QUADRATIC’ is not available for ’ROBUST’ fitting.

[’#’][’type’] = The python string containing the fit type (’LSQ’ or ’ROBUST’).

[’#’][’weight’] = The python boolean determining whether the fit was weighted or not.

[’#’][’validFit’] = The python boolean telling whether the fit was valid or not.

[’#’][’pars’] = The numpy float array containing the fit parameters.

[’#’][’vars’] = The numpy float array containing the fit parameter variances.

[’#’][’covars’] = The numpy float array containing the fit parameter covariances (par0-par1, par0-par2, ..., par1-par2).

[’#’][’redChi2’] = The python float containing the reduced chi2 (set to 1.0 for unweighted fits).

[’#’][’model’] = The numpy float array containing the model versus the abscissae.

[’#’][’res’] = The numpy float array containing the fit residuals versus the absicissae.

[’#’][’resMean’] = The python float containing the mean of the residuals.

[’#’][’resVar’] = The python float containing the variance of the residuals.

Methods

??Construct a calibration analysis tool.
??Open a calibration table.
??Close a calibration table.
??Return the calibration table name.
??Return the name of the MS that created this calibration table.
??Return the type of calibration table (’B’, ’G’, ’T’, etc.).
??Return the parameter column type in the calibration table (’Complex’ or ’Float’).
??Return the polarization basis in the calibration table (’L’ for linear or ’C’ for circular).
??Return the number of fields in the calibration table.
??Return the fields in the calibration table.
??Return the number of antennas in the calibration table.
??Return the number of antenna 1s in the calibration table.
??Return the number of antenna 2s in the calibration table.
??Return the antennas in the calibration table.
??Return the antenna 1s in the calibration table.
??Return the antenna 2s in the calibration table.
??Return the number of feeds in the calibration table.
??Return the feeds in the calibration table.
??Return the number of times in the calibration table.
??Return the times (in MJD seconds) in the calibration table.
??Return the number of spectral windows in the calibration table.
??Return the spectral windows in the calibration table.
??Return the number of channels per spectral window in the calibration table.
??Return the frequencies per spectral window in the calibration table.
??Return the calibration data.
??Return the calibration data and fits along the non-iteration axis.

    calanalysis.calanalysis - Function
    calanalysis.open - Function
    calanalysis.close - Function
    calanalysis.calname - Function
    calanalysis.msname - Function
    calanalysis.viscal - Function
    calanalysis.partype - Function
    calanalysis.polbasis - Function
    calanalysis.numfield - Function
    calanalysis.field - Function
    calanalysis.numantenna - Function
    calanalysis.numantenna1 - Function
    calanalysis.numantenna2 - Function
    calanalysis.antenna - Function
    calanalysis.antenna1 - Function
    calanalysis.antenna2 - Function
    calanalysis.numfeed - Function
    calanalysis.feed - Function
    calanalysis.numtime - Function
    calanalysis.time - Function
    calanalysis.numspw - Function
    calanalysis.spw - Function
    calanalysis.numchannel - Function
    calanalysis.freq - Function
    calanalysis.get - Function
    calanalysis.fit - Function


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