GalacticDynamics / coordinax

Coordinates in JAX
MIT License
11 stars 3 forks source link

refactor: move to dispatches #153

Closed nstarman closed 2 months ago

nstarman commented 2 months ago

Offloads a lot of methods to dispatches. This also better allows for use of jax functions. Not complete and definitely can be simplified. But this is a good base on which to continue building.

codecov[bot] commented 2 months ago

Codecov Report

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

Project coverage is 95.38%. Comparing base (11dc5a4) to head (0264412). Report is 1 commits behind head on main.

Files Patch % Lines
src/coordinax/_d2/cartesian.py 93.10% 2 Missing :warning:
src/coordinax/_d3/cartesian.py 90.90% 2 Missing :warning:
src/coordinax/_base_pos.py 92.85% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #153 +/- ## ========================================== + Coverage 94.82% 95.38% +0.55% ========================================== Files 68 68 Lines 2610 2643 +33 ========================================== + Hits 2475 2521 +46 + Misses 135 122 -13 ```

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