New Development: No
JIRA Issue: Yes CAS-1422
Ready to Release: Yes
Interface Changes: Yes
What Interface Changed: Defined calibrate() and almacal() in python/asapmath.py
Defined cwcal() in STMath class
Test Programs: List test programs
Put in Release Notes: Yes
Module(s): task_sdaverage
Description: Describe your changes here...
asapmath.py is changed to be able to calibrate data for APEX.
This modification is tentatively considered a calibration of ALMA
single-dish data. However, it must be updated in the future since
I don't know how raw ALMA data are provided and I have to change
code along with read ALMA data.
The calibrate() function takes calibration mode from its argument and
looks antenna name of the input scantable, and calls appropriate calibration
function depending on the calibration mode and antenna name.
If antenna name include 'APEX' or 'ALMA', newly defined calibration function
apexcal() is called. For other antenna name, one of the existing calibration
functions (calps, calnod, calfs, auto_quotient) is called.