Coordinate transformation from GSE to SXI

Numerical - vector approach

Spherical -> cartesian GSE -> cartesian Satellite -> FOV elevation-azimuth

  1. Find φ,θ from Numerical Solution & Performance for a set of a and r0 of the Shue model
  2. Convert it to GSE cartesian through Geocentric Solar Ecliptic System tranformation
  3. Convert to Satellite frame through the position and attitude files of the satellite:
    The attitude is given through the definition of each base vector of the satellite in the GSE frame. We can the construct the rotation matrix from satellite to GSE:R=[|||exsateysatezsat|||]And the relation between a vector in the GSE frame and the same vector in the satellite frame isvGSE=Rvsat+twhere t is the translation vector (position of the satellite).
    Therefore, the conversion from GSE to Satellite is defined:vsat=R(vGSEt)This returns the tangent curve in the satellite frame:
    Pasted image 20250327111426.png|400
  4. In order to project this in the FOV coordinates we need to compute the angle of each point from the z axis (boresight) along the x and y direction of the satellite frame:azimuth=arctanxzelevation=arctanyz

Analytical approach

Spherical to spherical coordinates
From Tangent points to SXI in GSE we have the positions of the parametric tangent curve in the GSE:

F(θ,ϕ,r0,a)=0

We need to convert this to elevation and angle on the SXI FOV. For this we need:

Translation of origin

If the origin of your new spherical system is shifted by (Δr,Δθ,Δϕ), the new radial distance is:

r=r2+Δr22rΔrcosθ

The new polar angle (relative to the shifted origin) is:

θtranslated=arccos(rcosθΔrr)

And the azimuthal angle (after translation) is:

ϕtranslated=ϕ+Δϕ

Euler Transformation

Now, let’s apply an Euler rotation defined by (α,β,γ), assuming:

cosθ=cosβcosθtranslated+sinβsinθtranslatedcos(ϕα)sinθcosϕ=cosβsinθtranslatedcos(ϕα)sinβcosθtranslatedsinθsinϕ=sinθtranslatedsin(ϕα)

Convert to cartesian system of satellite

Depending on how we have defined the new axis and the corresponding rotation:

x=cosθy=rsinθcosϕz=rsinθsinϕ

We can now take the projection in the XY plane to approximate the flat image plane and the corresponding parametric equation in this plane.