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
Topic revision: r2 - 2014-09-18, 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