h_tsyscal

h_tsyscal(vis=None, caltable=None, chantol=None, parallel=None) ResultsList[TsyscalResults][source]

Derive Tsys calibration tables for a list of ALMA MeasurementSets.

System temperature (Tsys) as a function of frequency is calculated from the atmospheric calibration scan data by the online system at the time of observation. These spectra are imported to a table of the MS during hifa_importdata. In h_tsyscal, these spectra are copied into a CASA calibration table by the gencal task, which flags channels with zero or negative Tsys.

The WebLog shows the mapping of Tsys spectral windows to science spectral windows, and plots Tsys before flagging. Mapping is often necessary because Tsys can only be measured in TDM windows on the 64-station baseline correlator.

Parameters:
  • vis --

    List of input visibility files.

    Example: vis=['ngc5921.ms']

  • caltable --

    Name of output gain calibration tables.

    Example: caltable='ngc5921.gcal'

  • chantol --

    The tolerance in channels for mapping atmospheric calibration windows (TDM) to science windows (FDM or TDM).

    Example: chantol=5

  • parallel --

    Process multiple MeasurementSets in parallel using the casampi parallelization framework.

    Options: 'automatic', 'true', 'false', True, False

    Default: None (equivalent to False)

Notes

QA Scoring

The QA score is 1.0 if all science spws could be mapped to a Tsys spw, otherwise 0.0.

Returns:

The results object for the pipeline task is returned.

Examples

  1. Standard call

>>> h_tsyscal()