b2j | R Documentation |
Precession from B1950 to J2000
b2j(ra = "17h42m29.3076s", dec = "-28d59m18.484s")
ra |
B1950 Right ascention (string) |
dec |
B1950 Declination (string) |
Enter positions as text strings with fields separated by characters d, h, m, s, a colon, or a comma, e.g. '17, 42, 28', '-28h43m03s', or '- 28 :43 : 3'. Spaces are removed in input conversion. Trailing missing values are taken as zero. The code uses an approximate formula for precession; spot checks give results accurate within a few tenths of an arcsecond.
List with strings in:
ra2000 |
J2000 Right ascension |
dec2000 |
J2000 Declination |
Calculation based on power-law expansion of exact function.
Andrew Harris
Explanatory supplement to the Astronomical Almanac, Seidelmann (ed.), c.~1992, chapter 3.213
j2b
. See dms2rad
, hms2rad
for input conversions.
b2j() b2j(ra='17, 43', dec='-28, 47, 30') b2j(ra='17, 43', dec=' - 28, 47, 30') b2j(ra='17h43m', dec='-28d47m30s') tmp <- b2j(ra='17, 43', dec=' - 28, 47, 30') str(tmp) tmp
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.