boxToRadians

Return to directory of Todd's CASA extensions

Usage:

Takes a string of the CASA "box" region format and returns the corresponding ra/dec of the bottom left corner (blc) and top right corner (trc) in radians.
au.boxToRadians(string)
See also buildBoxRegion

Example:

CASA <4>: au.boxToRadians('[[17:20:55.24514, -035.45.04.6612], [17:20:55.13641, -035.45.02.7920]]')
  Out[4]:
((4.5418735951382789, -0.62397780572327677),
 (4.5418656880695458, -0.62396874358594945))

-- ToddHunter - 2013-07-18
Topic revision: r1 - 2013-07-18, 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