repairSidebandRatio

Return to directory of Todd's CASA extensions

Prepares an ASDM for running offline casapy-telcal's tc_sidebandratio() command to regenerate the CalAtmosphere.xml table. Useful for computing sideband ratios if the values in the ASDM are simply the default values, yet sideband_ratio data exists in the ASDM. Renames the CalAtmosphere.xml and .bin tables to *.old, sets the number of CalAtmosphere rows to zero in the ASDM.xml table, and then runs tc_sidebandratio on one scan at a time (if the command is available). See also repairSysCal and repairAtmcalStateIDs.

Usage:

au.repairSidebandRatio(asdm, scan, showplot=False)
  • scan: list of scans, e.g. '1,2,3' or [1,2,3]

Example:

-- ToddHunter - 2013-11-07
Topic revision: r3 - 2014-05-19, ToddHunter
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding NRAO Public Wiki? Send feedback