buildBoxRegion

Return to directory of Todd's CASA extensions

Builds a casa box region string out of the specified blc and trc coordinates (given in radians). See also boxToRadians

Usage:

au.buildBoxRegion(blc, trc, coordsys='J2000')

Example:

CASA <8>: au.buildBoxRegion((4.5418735951382789, -0.62397780572327677), (4.5418656880695458, -0.62396874358594945))
17:20:55.24514, -035.45.04.661200
17:20:55.13641, -035.45.02.792000
  Out[8]: 'box [[17:20:55.24514,  -035.45.04.661200], [17:20:55.13641,  -035.45.02.792000]] coord=J2000'

-- 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