sot / Quaternion

Quaternion manipulation
https://sot.github.io/Quaternion
BSD 3-Clause "New" or "Revised" License
3 stars 7 forks source link

Add functions for improved performance for scalar operations #41

Closed taldcroft closed 10 months ago

taldcroft commented 1 year ago

Description

This provides convenience functions quat_to_equatorial and quat_mult which work on a single quaternion. The functions are about 100 and 50 times faster (respectively) than the naive Quat-based method.

This is part of the coupled changes to kadi, chandra_aca, ska_sun, Quaternion, and Chandra.Maneuver to make kadi command states faster.

Interface impacts

Adds functions quat_to_equatorial and quat_mult.

Testing

Unit tests

Independent check of unit tests by Javier

Functional tests

image
taldcroft commented 10 months ago

We can ignore the flake8 warning, this will be overtaken/fixed by #42.