pipeline.h.heuristics.tsysspwmap¶
-
pipeline.h.heuristics.
tsysspwmap
(ms, tsystable, trim=True, relax=False, tsysChanTol=1)[source]¶ Generate default spwmap for ALMA Tsys, including TDM->FDM associations Input:
ms the target MeasurementSet object tsystable the input Tsys caltable (w/ TDM Tsys measurements) trim if True (the default), return minimum-length spwmap;
otherwise the spwmap will be exhaustive and include the high-numbered (and usually irrelevant) wvr spws
relax (not yet implemented)
- Output:
spw list to use in applycal spwmap parameter for the Tsys caltable
This function takes the Tsys Caltable you wish to apply to a MeasurementSet and generates a “applycal-ready” spwmap that provides the appropriate information regarding the transfer Tsys calibration from TDM spectral windows to FDM spectral windows. To execute the function:
tsysmap=tsysspwmap(vis=’my.ms’,tsystable=’mytsys.cal’)
tsysmap can then be supplied to the applycal spwmap parameter to ensure proper Tsys calibration application.