scikit-hep / vector

Vector classes and utilities
https://vector.readthedocs.io
BSD 3-Clause "New" or "Revised" License
77 stars 24 forks source link

feat: allow momentum coords in to_Vector*D methods + cleanup #423

Closed Saransh-cpp closed 6 months ago

Saransh-cpp commented 7 months ago

Description

Fixes #382

Paves the way for #422 (make the conversions more user-friendly)

cc: @nsmith-, @iasonkrom, @lgray

Checklist

Before Merging

codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 82.92%. Comparing base (e4c3f53) to head (b12df12).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #423 +/- ## ========================================== + Coverage 82.87% 82.92% +0.05% ========================================== Files 96 96 Lines 11533 11533 ========================================== + Hits 9558 9564 +6 + Misses 1975 1969 -6 ```

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