Return to directory of Todd's CASA extensions

Converts a frequency to the ALMA band number. Calls parseFrequencyArgument if necessary. There is ambiguity in the overlap range of Band 2 and 3 (84-90 GHz). See also bandforspw, which does not have this ambiquity.


  • freq: can be a frequency in Hz, or a string with units at the end (GHz, MHz, kHz, or Hz)


CASA <2>: au.getBand('230GHz')
  Out[2]: 6

- ToddHunter - 2013-10-19

This topic: ALMA > TWikiUsers > ToddHunter > CasaExtensions > GetBand
Topic revision: 2016-02-05, 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