ancklo / ChaosMagPy

ChaosMagPy is a simple Python package for evaluating the CHAOS geomagnetic field model and other models of Earth's magnetic field.
Other
23 stars 3 forks source link

Compute Euler angles #4

Closed ancklo closed 2 years ago

ancklo commented 4 years ago

The current implementation to compute the Euler angles, describing the rotation from the magnetometer to the satellite body frame, is not correct/complete due to the Euler prerotation that is applied.

I can see three options:

  1. Calculate the correct Euler angles by combining the prerotation and the angles we estimate in the CHAOS inversion (not clear how to do it)
  2. Supply the correct rotation matrix (or quaternion) instead of the Euler angles (also removes inherent ambiguity of Euler angles).
  3. Remove method to synthesize Euler angles all together. This feature was originally implemented to compare the angles between different versions of the CHAOS model as part of a sanity check of new models.