removeScanFromCaltable
Return to directory of Todd's CASA extensions
Removes a specified scan number from a caltable, e.g. a Tsys table, which was necessary for PRTSIR-7683. See also
getTsysScans and
removeAntennaFromCaltable.
Usage:
au.removeScanFromCaltable(caltable, scan)
Example:
CASA <2>: au.getTsysScans('uid___A002_Xaba3d8_X7.ms.tsys')
Out[2]: array([ 2, 5, 7, 8, 14, 16, 18, 24, 30, 36, 41, 42], dtype=int32)
CASA <3>: au.removeScanFromCaltable('uid___A002_Xaba3d8_X7.ms.tsys',5)
CASA <4>: au.getTsysScans('uid___A002_Xaba3d8_X7.ms.tsys')
Out[4]: array([ 2, 7, 8, 14, 16, 18, 24, 30, 36, 41, 42], dtype=int32)
--
ToddHunter - 2015-10-17