Usage for replaceTsysScan
Return to directory of Todd's CASA extensions
This is a utility to replace the Tsys spectrum from one combination
of antenna+spw+pol+scan with the value from a different scan of the same
antenna+spw+pol. The spw number should be the original number in the
parent ms. It automatically detects and processes
old cal tables (casa 3.3) or new cal tables (casa 3.4).
See also
removeTsysSpike,
replaceTsys and
copyTsys.
Usage:
au.replaceTsysScan(calTable, antenna, spw, pol, fromscan, toscan, newvalue=None)
antenna: the ID (integer or string integer), or the antenna name
spw: integer or string integer, or a list of integers
pol: 'X' or 'Y'
fromscan: integer or string integer
toscan: integer or string integer
newvalue: if specified, put this value into all channels
(in this case, set fromscan=toscan)
Example:
CASA <3>: au.replaceTsysScan('test.tsys',1,9,'X',6,3)
Reading from row 29
Writing to row 1
Replaced 1 rows for antenna 1
--
ToddHunter - 2013-01-05