headerToRadian

Return to directory of Todd's CASA extensions

Converts a CASA angle quantity dictionary to the angle in radians. See also headerToDegree and headerToArcsec.

Usage:

au.headerToRadian(mydict, unit=None)

Example:

CASA <2>: au.headerToRadian({'value': 206264.8, 'unit': 'arcsec'})
mydict =  {'unit': 'arcsec', 'value': 206264.8}
  Out[2]: 0.99999996971322214

-- ToddHunter - 2015-06-19
Topic revision: r1 - 2015-06-19, 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