tsysspwmapWithNoTable
Return to directory of Todd's CASA extensions
This is a meager implementation of the ALMA recipe
tsysspwmap that does not require a Tsys caltable. So far, it is used only by
bandpassPreAverage and
gaincalSNR to avoid the need for to generate a Tsys caltable prior to running it (and to avoid some shortcomings in tsysspwmap).
Usage:
au.tsysspwmapWithNoTable(vis, field, spw, alternateIntents=[], debug=False)
Inputs:
- vis: the measurement set
- field: field ID as integer or string integer
- spw: spw ID as integer
- alternateIntents: if no Tsys spws are found, then look for Tsys spws for fields having these intents (in succession)
Returns:
- the integer of the Tsys spw to use for the specified spw
Example:
CASA <6>: au.tsysspwmapWithNoTable('uid___A002_X84187d_X1a59.ms', 0, 22)
Out[6]: 14
--
ToddHunter - 2014-09-11