Public Member Functions | |
def | __init__ |
def | open |
def | close |
def | calname |
def | msname |
def | viscal |
def | partype |
def | polbasis |
def | numfield |
def | field |
def | numantenna |
def | numantenna1 |
def | numantenna2 |
def | antenna |
def | antenna1 |
def | antenna2 |
def | numfeed |
def | feed |
def | numtime |
def | time |
def | numspw |
def | spw |
def | numchannel |
def | freq |
def | get |
def | fit |
Public Attributes | |
this | |
Static Private Attributes | |
dictionary | __swig_setmethods__ |
tuple | __setattr__ |
dictionary | __swig_getmethods__ |
tuple | __getattr__ |
__repr__ | |
__swig_destroy__ | |
__del__ |
Proxy of C++ casac::calanalysis class
Definition at line 70 of file calanalysis.py.
def __casac__.calanalysis.calanalysis.__init__ | ( | self | ) |
__init__(self) -> calanalysis
Definition at line 77 of file calanalysis.py.
def __casac__.calanalysis.calanalysis.antenna | ( | self, | |
name = True |
|||
) |
antenna(self, name=True) -> std::vector< std::string > Summary Return the antennas in the calibration table. Input Parameters: name The python boolean which determines whether antenna names (True) or antenna numbers (False) are returned. true --------------------------------------------------------------------------------
Definition at line 250 of file calanalysis.py.
Referenced by task_sdmath.sdmath_worker.execute(), task_sdsmooth.sdsmooth_worker.initialize_scan(), task_sdplot.sdplot_worker.initialize_scan(), task_sdcal.sdcal_worker.initialize_scan(), task_sdfit.sdfit_worker.initialize_scan(), task_sdbaseline.sdbaseline_worker.initialize_scan(), task_sdstat.sdstat_worker.initialize_scan(), and task_sdflag.sdflag_worker.initialize_scan().
def __casac__.calanalysis.calanalysis.antenna1 | ( | self, | |
name = True |
|||
) |
antenna1(self, name=True) -> std::vector< std::string > Summary Return the antenna 1s in the calibration table. Input Parameters: name The python boolean which determines whether antenna 1 names (True) or antenna 1 numbers (False) are returned. true --------------------------------------------------------------------------------
Definition at line 267 of file calanalysis.py.
def __casac__.calanalysis.calanalysis.antenna2 | ( | self, | |
name = True |
|||
) |
antenna2(self, name=True) -> std::vector< std::string > Summary Return the antenna 2s in the calibration table. Input Parameters: name The python boolean which determines whether antenna 2 names (True) or antenna 2 numbers (False) are returned. true --------------------------------------------------------------------------------
Definition at line 284 of file calanalysis.py.
def __casac__.calanalysis.calanalysis.calname | ( | self | ) |
calname(self) -> string Summary Return the calibration table name. --------------------------------------------------------------------------------
Definition at line 114 of file calanalysis.py.
def __casac__.calanalysis.calanalysis.close | ( | self | ) |
close(self) -> bool Summary Close a calibration table. --------------------------------------------------------------------------------
Definition at line 101 of file calanalysis.py.
def __casac__.calanalysis.calanalysis.feed | ( | self | ) |
feed(self) -> std::vector< std::string > Summary Return the feeds in the calibration table. --------------------------------------------------------------------------------
Definition at line 314 of file calanalysis.py.
def __casac__.calanalysis.calanalysis.field | ( | self, | |
name = True |
|||
) |
field(self, name=True) -> std::vector< std::string > Summary Return the fields in the calibration table. Input Parameters: name The python boolean which determines whether field names (True) or field numbers (False) are returned. true --------------------------------------------------------------------------------
Definition at line 194 of file calanalysis.py.
def __casac__.calanalysis.calanalysis.fit | ( | self, | |
args, | |||
kwargs | |||
) |
fit(self, field=initialize_variant(""), antenna=initialize_variant(""), timerange=initialize_variant(""), spw=initialize_variant(""), feed=initialize_variant(""), axis=string("TIME"), ap=string("AMPLITUDE"), norm=False, unwrap=False, jumpmax=0.0, order=string("AVERAGE"), type=string("LSQ"), weight=False) -> record * Summary Return the calibration data and fits along the non-iteration axis. Input Parameters: field The python comma-delimited string or list of strings containing the field names or numbers. The default is '' (all fields). 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). 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). 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). feed The python comma-delimited string or list of strings containing the feeds. The default is '' (all feeds). axis The python string containing the user-specified iteration axis. The allowed values are 'TIME' and 'FREQ'. The default is '' ('FREQ'). 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. 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'. 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'. 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). 0.0 order The python string containing the fit order. The allowed values are 'AVERAGE', 'LINEAR', and 'QUADRATIC'. The default is '' ('AVERAGE'). NB: 'QUADRATIC' is not allowed when type = 'ROBUST'. AVERAGE type The python string containing the fit type. The allowed values are 'LSQ' and 'ROBUST'. The default is '' ('LSQ'). NB: Robust fitting is experimental. It flags outliers. LSQ weight The python boolean which determines the weighting. The default is False. false --------------------------------------------------------------------------------
Definition at line 437 of file calanalysis.py.
def __casac__.calanalysis.calanalysis.freq | ( | self | ) |
freq(self) -> record * Summary Return the frequencies per spectral window in the calibration table. --------------------------------------------------------------------------------
Definition at line 396 of file calanalysis.py.
def __casac__.calanalysis.calanalysis.get | ( | self, | |
args, | |||
kwargs | |||
) |
get(self, field=initialize_variant(""), antenna=initialize_variant(""), timerange=initialize_variant(""), spw=initialize_variant(""), feed=initialize_variant(""), axis=string("TIME"), ap=string("AMPLITUDE"), norm=False, unwrap=False, jumpmax=0.0) -> record * Summary Return the calibration data. Input Parameters: field The python comma-delimited string or list of strings containing the field names or numbers. The default is '' (all fields). 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). 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). 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). feed The python comma-delimited string or list of strings containing the feeds. The default is '' (all feeds). axis The python string containing the user-specified iteration axis. The allowed values are 'TIME' and 'FREQ'. The default is '' ('FREQ'). 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. 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'. 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'. 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). 0.0 --------------------------------------------------------------------------------
Definition at line 409 of file calanalysis.py.
Referenced by odict.odict.values().
def __casac__.calanalysis.calanalysis.msname | ( | self | ) |
msname(self) -> string Summary Return the name of the MS that created this calibration table. --------------------------------------------------------------------------------
Definition at line 127 of file calanalysis.py.
def __casac__.calanalysis.calanalysis.numantenna | ( | self | ) |
numantenna(self) -> int Summary Return the number of antennas in the calibration table. --------------------------------------------------------------------------------
Definition at line 211 of file calanalysis.py.
def __casac__.calanalysis.calanalysis.numantenna1 | ( | self | ) |
numantenna1(self) -> int Summary Return the number of antenna 1s in the calibration table. --------------------------------------------------------------------------------
Definition at line 224 of file calanalysis.py.
def __casac__.calanalysis.calanalysis.numantenna2 | ( | self | ) |
numantenna2(self) -> int Summary Return the number of antenna 2s in the calibration table. --------------------------------------------------------------------------------
Definition at line 237 of file calanalysis.py.
def __casac__.calanalysis.calanalysis.numchannel | ( | self | ) |
numchannel(self) -> std::vector< int > Summary Return the number of channels per spectral window in the calibration table. --------------------------------------------------------------------------------
Definition at line 383 of file calanalysis.py.
def __casac__.calanalysis.calanalysis.numfeed | ( | self | ) |
numfeed(self) -> int Summary Return the number of feeds in the calibration table. --------------------------------------------------------------------------------
Definition at line 301 of file calanalysis.py.
def __casac__.calanalysis.calanalysis.numfield | ( | self | ) |
numfield(self) -> int Summary Return the number of fields in the calibration table. --------------------------------------------------------------------------------
Definition at line 181 of file calanalysis.py.
def __casac__.calanalysis.calanalysis.numspw | ( | self | ) |
numspw(self) -> int Summary Return the number of spectral windows in the calibration table. --------------------------------------------------------------------------------
Definition at line 353 of file calanalysis.py.
def __casac__.calanalysis.calanalysis.numtime | ( | self | ) |
numtime(self) -> int Summary Return the number of times in the calibration table. --------------------------------------------------------------------------------
Definition at line 327 of file calanalysis.py.
def __casac__.calanalysis.calanalysis.open | ( | self, | |
args, | |||
kwargs | |||
) |
open(self, caltable=string("")) -> bool Summary Open a calibration table. Input Parameters: caltable Python string containing the calibration table name. --------------------------------------------------------------------------------
Definition at line 84 of file calanalysis.py.
def __casac__.calanalysis.calanalysis.partype | ( | self | ) |
partype(self) -> string Summary Return the parameter column type in the calibration table ('Complex' or 'Float'). --------------------------------------------------------------------------------
Definition at line 153 of file calanalysis.py.
def __casac__.calanalysis.calanalysis.polbasis | ( | self | ) |
polbasis(self) -> string Summary Return the polarization basis in the calibration table ('L' for linear or 'C' for circular). --------------------------------------------------------------------------------
Definition at line 167 of file calanalysis.py.
def __casac__.calanalysis.calanalysis.spw | ( | self, | |
name = True |
|||
) |
spw(self, name=True) -> std::vector< std::string > Summary Return the spectral windows in the calibration table. Input Parameters: name The python boolean which determines whether spectral window names (True) or spectral window numbers (False) are returned. true --------------------------------------------------------------------------------
Definition at line 366 of file calanalysis.py.
Referenced by task_sdtpimaging.sdtpimaging_worker.__execute_imaging().
def __casac__.calanalysis.calanalysis.time | ( | self | ) |
time(self) -> std::vector< double > Summary Return the times (in MJD seconds) in the calibration table. --------------------------------------------------------------------------------
Definition at line 340 of file calanalysis.py.
def __casac__.calanalysis.calanalysis.viscal | ( | self | ) |
viscal(self) -> string Summary Return the type of calibration table ('B', 'G', 'T', etc.). --------------------------------------------------------------------------------
Definition at line 140 of file calanalysis.py.
__casac__.calanalysis.calanalysis.__del__ [static, private] |
Definition at line 83 of file calanalysis.py.
tuple __casac__.calanalysis.calanalysis.__getattr__ [static, private] |
Definition at line 75 of file calanalysis.py.
__casac__.calanalysis.calanalysis.__repr__ [static, private] |
Definition at line 76 of file calanalysis.py.
tuple __casac__.calanalysis.calanalysis.__setattr__ [static, private] |
Definition at line 73 of file calanalysis.py.
__casac__.calanalysis.calanalysis.__swig_destroy__ [static, private] |
Definition at line 82 of file calanalysis.py.
dictionary __casac__.calanalysis.calanalysis.__swig_getmethods__ [static, private] |
Definition at line 74 of file calanalysis.py.
dictionary __casac__.calanalysis.calanalysis.__swig_setmethods__ [static, private] |
Definition at line 72 of file calanalysis.py.
Definition at line 81 of file calanalysis.py.