More exactly, I want to translate polar coordinates to spherical ones, knowing the euler angles that define the polar plane in the spherical basis.(adsbygoogle = window.adsbygoogle || []).push({});

Polar coordinates: (r_{p},θ_{p})

it's actually the position of a satellite on its orbitSpherical coordinates: (r_{s},θ_{s},φ_{s})

its position relative to the planet so φ is the elevation angle(latitude), not the polar angleEuler angles: (α,β,γ)

the orbit parameters: longitude of ascending node, inclination, argument of periapsis

What I end up with (looks correct as far as I can tell) :

r_{s}=r_{p}

θ_{s}=α+atan2(u,v)

φ_{s}=atan2(|u,v|, sin(θ_{p}+γ)sin(β))

with:

u=cos(θ_{p}+γ)

v=sin(θ_{p}+γ)cos(β)

But the calculation of |u,v| (length) is killing my timings with the square root.

So my question is : is there a way to simplify those equations ? And specifically to get rid of the |u,v| ?

**Physics Forums - The Fusion of Science and Community**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Spherical basis change through euler angles

Can you offer guidance or do you also need help?

Draft saved
Draft deleted

Loading...

Similar Threads for Spherical basis change | Date |
---|---|

I Diagonalization and change of basis | Jan 16, 2018 |

I Spherical coordinates via a rotation matrix | May 31, 2016 |

Weyls representation of a propagating (z-v*t) spherical wave | Jan 10, 2016 |

N-spherical geometry | Jun 17, 2014 |

Binomial formula for spherical tensors | Aug 26, 2013 |

**Physics Forums - The Fusion of Science and Community**