View Single Post
  #1  
Old 14-12-2018, 03:51 PM
angelof (Angelo)
Registered User

angelof is offline
 
Join Date: Nov 2012
Location: newcastle australia
Posts: 14
Conversion of Coordinates to RA and Dec

Greetings.

I have been given a 3D vector and I need to convert this to RA and Dec.

The following vector is for Acrux
j2000":"[-0.449409, -0.0523899, -0.891789]

I need a formula to convert the x, y, and z to the RA and Dec

http://stellarium.org/doc/0.18/remoteControlApi.html

Is someone able to provide me with a formula so I can create a couple of functions in Java to return the values for a program I am writing? I would prefer that the RA and Dec be returned in degrees.

Thanks
Reply With Quote