getNumChanFromASDM

Return to directory of Todd's CASA extensions

Gets the number of channels in each spw of an ASDM, as a dictionary. See also getSpwsFromASDM.

Usage:

au.getNumChanFromASDM(asdm)

Example:

CASA <2>: au.getNumChanFromASDM('uid___A002_X8d7199_X195')
  Out[2]: 
{0: 4,
 1: 4,
 2: 4,
 3: 4,
 4: 4,
 5: 4,
 6: 4,
 7: 4,
 8: 4,
 9: 4,
 10: 4,
 11: 4,
 12: 4,
 13: 4,
 14: 4,
 15: 4,
 16: 4,
 17: 4,
 18: 4,
 19: 4,
 20: 4,
 21: 4,
 22: 4,
 23: 4,
 24: 4,
 25: 4,
 26: 4,
 27: 4,
 28: 4,
 29: 4,
 30: 4,
 31: 4,
 32: 4,
 33: 4,
 34: 4,
 35: 4,
 36: 64,
 37: 1,
 38: 64,
 39: 1,
 40: 64,
 41: 1,
 42: 64,
 43: 1}

-- ToddHunter - 2014-10-04

This topic: ALMA > TWikiUsers > ToddHunter > CasaExtensions > GetNumChanFromASDM
Topic revision: 2014-10-04, 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