J_epoch_to_B¶
-
Astronomy.
J_epoch_to_B
(ra2000, dec2000, format)¶ Convert J2000 coordinates to B1950.
See B_epoch_to_J for documentation
Notes
A test:
In [1]: import Astronomy as A In [2]: A.B_epoch_to_J('''00h02m29.056400s''', '''54d11'43.187000"''', 'formatted') Out[2]: [u'00h05m04.359s', u'+54d28m25.056s'] In [4]: A.J_epoch_to_B('''00h05m04.359s''', '''+54d28'25.056"''', 'formatted') Out[4]: [u'00h02m29.0564s', u'+54d11m43.1869s']
Seems to be good to about an arcsecond.
:param ra2000 : string
:param dec2000 : string
:param format : string
- Returns
tuple of strings