This article will derive equations for converting a planet's ecliptic coordinates to equatorial coordinates. This conversion is necessary for calculating primary directions - an ancient technique of event prediction.
Notations
First, let's define terms. We will denote
- Celestial longitude and latitude by λ and δ letters
- Equatorial coordinates - right ascension and declination by RA and D
- Ecliptic inclination by ϵ
Coordinate rotation
Let's denote the vector (a pointer) to the observed planet with the letter →v. Then the spherical coordinates of this vector in the ecliptic coordinate system will be
→v=(λ,δ)
The Cartesian coordinates of the same vector, according to equation (2) will be equal to
→v=cosδcosλ Xecl+cosδsinλ Yecl+sinδ Zecl
Here we set R (the radius of the celestial sphere) to be equal to 1 for simplicity. The Xecl-axis directs to 0° Aries, the Yelc-axis to 0° Cancer, and the Zecl-axis to the northern celestial hemisphere.
The equatorial plane is inclined at an angle −ϵ relative to the plane of the ecliptic in the YeclZecl plane.
We can use the rotation matrix, which we introduced earlier, substituting (−sinϵ) instead of sin(−ϵ).
AYZ=[1000cosϵ−sinϵ0sinϵcosϵ]
It gives us cartesian coordinates of the vector →v in an equatorial coordinate system:
{xeq=cosδcosλyeq=cosϵcosδsinλ−sinϵsinδzeq=sinϵcosδsinλ+cosϵsinδ
From the conversion equation (1) it follows that
{tan(RA)=yeq/xeqsin(D)=zeq
It gives us the final equations for converting (λ,δ)→(RA,D):
Invert Conversion
For invert conversion we change ϵ to (−ϵ). It gives us the following: