Return to directory of Todd's CASA extensions

Converts a string frequency into floating point in Hz. See also parseFrequencyArgumentToGHz, parseAntennaArgument, and getBand. If the units are not present, then the value is simply converted to a float.


  • bandwidth: a string with units, e.g. '1.34GHz' (supported units: GHz, MHz, kHz, Hz)


CASA <3>: au.parseFrequencyArgument('56.4MHz')
  Out[3]: 56400000.0

-- ToddHunter - 2013-10-18
Topic revision: r3 - 2014-03-06, 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