galpy.util.bovy_coords.lb_to_radec¶
-
galpy.util.bovy_coords.
lb_to_radec
(l, b, degree=False, epoch=2000.0)¶ NAME:
lb_to_radecPURPOSE:
transform from Galactic coordinates to equatorial coordinatesINPUT:
l - Galactic longitude
b - Galactic lattitude
degree - (Bool) if True, l and b are given in degree and ra and dec will be as well
epoch - epoch of target ra,dec (right now only 2000.0 and 1950.0 are supported)
OUTPUT:
ra,dec
For vector inputs [:,2]
HISTORY:
2010-04-07 - Written - Bovy (NYU)
2014-06-14 - Re-written w/ numpy functions for speed and w/ decorators for beauty - Bovy (IAS)