GalacticDynamics / coordinax

Coordinates in JAX
MIT License
7 stars 3 forks source link

feat: quaxify #140

Closed nstarman closed 1 month ago

nstarman commented 1 month ago

Refactor to be quad-based classes. This enables using jax functions on vectors, e.g. taking vector_norm! Lot's of followup work to do for other numpy functions.

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 94.25287% with 5 lines in your changes missing coverage. Please review.

Project coverage is 93.09%. Comparing base (bcf9d0a) to head (d13a03e).

Files Patch % Lines
src/coordinax/_base.py 75.00% 2 Missing :warning:
src/coordinax/_base_acc.py 50.00% 1 Missing :warning:
src/coordinax/_base_vel.py 50.00% 1 Missing :warning:
src/coordinax/_space.py 66.66% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #140 +/- ## ========================================== + Coverage 92.88% 93.09% +0.20% ========================================== Files 67 67 Lines 2447 2504 +57 ========================================== + Hits 2273 2331 +58 + Misses 174 173 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.