Usage of direction2radecForSimobserve

Return to directory of Todd's CASA extensions

Usage:

au.direction2radecForSimobserve(direction=None, prec=5)
Convert a direction dictionary from radians to a sexagesimal string in the format that simobserve expects. See also direction2radec, radec2direction, rad2radec and radec2rad.

Example:

CASA <2>: cl.open('Uranus_spw0_230.000GHz_56383.7d.cl')
  Out[2]: True
CASA <3>: refdir = cl.getrefdir(0)
CASA <4>: au.direction2radecForSimobserve(refdir)
  Out[4]: 'J2000 00h32m20.24719s +002d45m36.372973s'

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