Thread
:
Conversion of Coordinates to RA and Dec
View Single Post
#
2
14-12-2018, 05:45 PM
kens
(Ken)
Registered User
Join Date: Oct 2014
Location: Melbourne, Australia
Posts: 314
Declination is the arcsin of z
RA is the arctan of y/x.
Use atan2 or its equivalent to avoid div by zero error if x=0
EDIT: Looks like you need to add 180 degrees to get RA
Last edited by kens; 14-12-2018 at
10:41 PM
.
kens
View Public Profile
Find all posts by kens