How to get current coordinates in RA/Dec/Distance
|
|
MannaroThePatient | Date: Thursday, 09.02.2012, 05:57 | Message # 1 |
Observer
Group: Users
Italy
Messages: 16
Status: Offline
| I wanna play around the creation of a new whole star system. Reading the tutorial the star coordinate should be in Right Ascension / Declination / Distance from the Sun format. But how I known my current coordinates in the Universe? I found a nice spot inside a nebula on the other side of the Milky Way, I set myself on a empty space, look the Sun for the distance (15.827 kpc).
For my location I read both user.cfg and places.cfg (I set a place) and found these parameters: -13803.40627231223, -7676.716420040415, -1013.150708890675
They seems on a X,Y,Z format, there is any way to convert on RA/Dec/Distance? By the way, the zero position is the center of the sun? I found those values when I get there: -6.024792766230421e-021, -5.081753759103468e-021, 1.17121835081117e-020.
PC: Intel i7 4Ghz, 32GB RAM, nVidia GeForce GTX 980Ti (6GB VRAM), Windows 10 PRO 64.
|
|
| |
Teto | Date: Thursday, 09.02.2012, 07:55 | Message # 2 |
Space Tourist
Group: Users
France
Messages: 28
Status: Offline
| I think there are tools for Celestia, for this sort of 'issue'. I don't remember where, sorry.
|
|
| |
SpaceEngineer | Date: Friday, 10.02.2012, 01:27 | Message # 3 |
Author of Space Engine
Group: Administrators
Russian Federation
Messages: 4800
Status: Offline
| Just select the Sun and look to its coords in debug mode. Your RA and Dec will be opposed to Sun's, i.e. if Sun coords is:
RA = 8.1235 hours Dec = 56.515 degrees
then your coords will be
RA = 12 - 8.1235 = 15.8765 hours Dec = -56.515 degrees
Remember that RA is between 0 and 24, so if you obtain a negative value, just add 24 to it. The Dec is between -90 and +90. And the distance will be the same as the distance to the Sun from you.
*
|
|
| |
MannaroThePatient | Date: Friday, 10.02.2012, 22:14 | Message # 4 |
Observer
Group: Users
Italy
Messages: 16
Status: Offline
| DOH! I spent hours on formulas of ANY kind (read a lot of wikipedia) and... was so easy? -.-'' well, at least i learn a lot of stellar chartography. ^^
PC: Intel i7 4Ghz, 32GB RAM, nVidia GeForce GTX 980Ti (6GB VRAM), Windows 10 PRO 64.
|
|
| |