headerToDegree

Return to directory of Todd's CASA extensions

Converts a CASA angle quantity dictionary to the angle in degrees. See also headerToRadian and headerToArcsec.

Usage:

au.headerToDegree(mydict, unit=None)

Example:

CASA <3>: au.headerToDegree({'value': 34.1, 'unit': 'arcsec'})
  Out[3]: 0.009472222222222222

-- ToddHunter - 2015-06-19

This topic: ALMA > TWikiUsers > ToddHunter > CasaExtensions > HeaderToDegree
Topic revision: 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