Skip to content

Releases: denehoffman/laddu

v0.1.14

06 Dec 23:28
3637d02
Compare
Choose a tag to compare

Added

  • add intermediate Model and serialization updates
  • add perf commands to justfile

v0.1.13

05 Dec 03:42
8cabbb0
Compare
Choose a tag to compare

Added

  • add evaluate_gradient functions where evaluate is available in python API
  • add vector indexing and Event.get_p4_sum to python API
  • add __sub__, __rsub__, and __neg__ implementations to Python Vector3 and Vector4

Fixed

  • correct python method to get energy from 4-vector

Other

  • (python) write K-Matrix tests
  • (python) write Zlm tests
  • (python) write Ylm tests
  • (python) write Breit-Wigner tests
  • remove unused imports
  • (breit_wigner) properly test BreitWigner gradient
  • (python) write common amplitude tests
  • (python) write amplitude submodule tests
  • update common tests
  • write python tests for variables
  • raise minimum python version to 3.8 to allow for numpy v2 constraint
  • we were so close
  • I'll just write it myself, what could go wrong
  • the alpine package is named build-base, not build-essential
  • remove print statement in test
  • add tests for Python data submodule
  • switch back to clang and add build-essential
  • switch from clang to gcc
  • add python3-dev and pkgconf to weird linux builds
  • add git and clang to the weird OS target builds
  • misnamed wheels
  • try globing it
  • try using direct wheel path to install
  • trying this again, maybe if I specify a local path it won't try to pull laddu from PyPI
  • use --no-index to try to force pip to install the local wheel
  • update maturin.yml to run pytest
  • (python) add tests for python vector API
  • update ruff settings globally

v0.1.12

04 Dec 00:57
Compare
Choose a tag to compare

Added

  • add basic implementation to read directly from ROOT files
  • (bench) updated benchmark to run over available parallelism

Fixed

  • correct parallelism to allow for proper codspeed benchmarking
  • minor fixes for building without rayon/pyo3

Other

  • Merge pull request #23 from denehoffman/reading-root
  • get rid of from_momentum method and replace with methods coming from 3-vectors
  • change order of four-vector components and modify operation of boost
  • bump dependencies

v0.1.11

29 Nov 22:08
413c714
Compare
Choose a tag to compare

Fixed

  • major bug/typo in boost method and tests to check for it

v0.1.10

20 Nov 02:50
4777c13
Compare
Choose a tag to compare

Added

  • switch API for acceptance correction to not process genmc till projection
  • change the way NLLs are constructed to allow the user to specify a generated dataset

Fixed

  • change NLL to always use len(accmc) for n_mc

Other

  • use pyproject.toml for doc dependencies
  • add copy button to code
  • update tutorial page
  • add under construction notes
  • finish unbinned tutorial
  • fix doctests and update example_1 results
  • switch argument ordering in Manager.load
  • reorganize main page and include tutorials
  • (docs) fix doctest with missing parameter

v0.1.9

19 Nov 03:23
1c833d3
Compare
Choose a tag to compare

Added

  • add no-op implementations for adding 0 to add-able types
  • update type hints with ropts and add magic methods to easily pickle Status

Other

  • remove unused references
  • (python) document as_dict

v0.1.8

09 Nov 19:16
734b592
Compare
Choose a tag to compare

Added

  • (data) make Event::get_p4_sum generic over its argument
  • (variables) add Mandelstam variables
  • (enums) add Channel enum
  • (enums) add serde to enums
  • (amplitudes) add From impl for AmplitudeID to Expression conversion
  • (data) create test_dataset method for testing purposes as well as add Default impl to Event
  • (enums) add equality comparison to enums and convert to lowercase before string conversion

Fixed

  • (enums) Gottfried-Jackson string conversions were accidentally being redirected to Helicity

Other

  • (python) fix equations in Mandelstam docs
  • fix some documentation issues
  • ignore in codecov, eventually need to test this on the Python side instead
  • (amplitudes) add unit tests for ylm, zlm, breit_wigner, and kmatrix modules
  • (common) add unit tests for common amplitudes
  • (variables) add unit tests for variables module
  • (amplitudes) add unit tests for amplitudes mod
  • (variables) use new instead of full struct definition for combined Variables
  • (enums) add unit tests for converting strings to enums
  • (resources) add unit tests for module
  • (data) add unit tests for module
  • correct docs to reflect some recent changes in how NLLs are calculated

v0.1.7

08 Nov 05:40
03debc1
Compare
Choose a tag to compare

Added

  • add NLL::project_with to do projecting and isolation in one step
  • add __radd__ implementations wherever __add__ is implemented

Other

  • bump dependency versions
  • manipulate features to allow for MSRV of 1.70.0
  • use latest rust version
  • update readthedocs config in the hopes that it will properly build laddu
  • increase TOC depth
  • fix broken link

v0.1.6

07 Nov 20:44
1eb1657
Compare
Choose a tag to compare

Added

  • add methods to serialize/deserialize fit results
  • add gamma factor calculation to 4-momentum
  • test documentation
  • add stable ABI with minimum python version of 3.7
  • add python stub file for vectors

Fixed

  • make sure code works if no pol angle/magnitude are provided
  • use the unweighted total number of events and divide data likelihood terms by n_data
  • correct phase in Zlm
  • correct PolAngle by normalizing the beam vector
  • add amplitude module-level documentation
  • correct path to sphinx config
  • use incremental builds for maturin development

Other

  • add RTDs documentation badge to README and link to repo in docs
  • separate command for rebuilding docs and making docfiles
  • finish first pass documenting Python API
  • fix typo in K-Matrix Rust docs
  • resolve lint warning of len without is_empty
  • more documentation for Python API
  • fix data format which said that eps vectors have a "p" in their column names
  • documentvectors Python API
  • add documentation for Vector3 in Python API
  • docstrings are not exported with maturin develop
  • add documentation commands to justfile
  • add automatic documentation and readthedocs support
  • update README with codspeed badge

v0.1.5

31 Oct 20:07
48abf50
Compare
Choose a tag to compare

Added

  • remove methods to open data into bins or filtered and replace with method on Dataset
  • wrap Events inside Datasets in Arc to reduce bootstrap copying
  • add benchmark for opening datasets
  • add method to resample datasets (bootstrapping)

Other

  • switch to Codspeed for benchmarking
  • update plot and add output txt file for example_1 and reorganize directory structure
  • refactor data loading code into a shared function