au.getSpwsFromCaltable(caltable, getNumberOfChannels=False)Inputs:
CASA <15>: au.getSpwsFromCaltable('uid___A002_X99c183_X25b6.ms.tsys')
Out[15]: array([ 9, 11, 13, 15], dtype=int32)
CASA <14>: au.getSpwsFromCaltable('uid___A002_X99c183_X25b6.ms.split.bandpass',getNumberOfChannels=True)
Out[14]: {0: 10, 1: 10, 2: 128, 3: 10, 4: 10, 5: 128}
-- ToddHunter - 2016-02-09
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.