parseUvrange

Return to directory of Todd's CASA extensions

Accepts a string specifying uvrange (in meters or klambkda) and converts it to minimum and maximum baseline lengths. Used by getBaselineLengths.

Usage:

au.parseUvrange(uvrange)
Inputs:
  • uvrange: e.g. '0~1000klambda' or '0~20m', or '50~200' (meters assumed). If klambda is specified, then frequency must be specified.
  • frequency: Hz, GHz, or string with unit

Examples:

CASA <7>: au.parseUvrange('4~600m')
  Out[7]: (4.0, 600.0)
CASA <8>: au.parseUvrange('4~600kl', 230)
  Out[8]: (5.213781878260869, 782.0672817391304)

-- ToddHunter - 2015-02-05
Topic revision: r1 - 2015-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