legend-exp / pygama

Python package for data processing and analysis
https://pygama.readthedocs.io
GNU General Public License v3.0
18 stars 56 forks source link

Math Refactor + Merged Main Into Refactor #532

Closed SamuelBorden closed 9 months ago

SamuelBorden commented 9 months ago

The math module has been refactored to increase performativity (namely by incorporating boost_histograms and numba JIT wrapping math functions) and user readability. Unit tests have been added for the entirety of the math module.

The main branch was also merged into the refactor branch. I tried my best to propagate changes in math to pargen, but a closer eye is probably warranted.

SamuelBorden commented 9 months ago

If anyone wants to get a feel for what was changed in the math refactor, I recommend reading the math tutorial located at docs/source/notebooks/MathTutorial.ipynb

gipert commented 9 months ago

Here it is: https://pygama--532.org.readthedocs.build/en/532/notebooks/MathTutorial.html

Nice!

gipert commented 9 months ago

As discussed, I am going to merge this into refactor.