# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [0.10.3](https://github.com/denehoffman/rustitude/compare/py-rustitude-v0.10.2...py-rustitude-v0.10.3) - 2024-08-18 ### Added - update ganesh dependency ### Fixed - remove num_threads keyword argument from python type hints ### Other - update readmes ## [0.10.2](https://github.com/denehoffman/rustitude/compare/py-rustitude-v0.10.1...py-rustitude-v0.10.2) - 2024-08-02 ### Added - add adaptive Nelder-Mead into minimizer function ### Other - revert back to using strings instead of enums in python API ## [0.10.1](https://github.com/denehoffman/rustitude/compare/py-rustitude-v0.10.0...py-rustitude-v0.10.1) - 2024-08-01 ### Added - add Rust methods to minimizer Python function - add `ThreePiPolFrac` amplitude (mirroring `ThreePiAngles.cc` in `halld_sim`) - Add Flatte amplitude ### Other - remove unneeded noqa's - change `Reflectivity` enum to `Sign` for more generic use - update READMEs - fix (hopefully) the python version/readme/license issues ## [0.10.0](https://github.com/denehoffman/rustitude/compare/py-rustitude-v0.9.3...py-rustitude-v0.10.0) - 2024-07-30 ### Added - [**breaking**] add `Decay` enum to basically every amplitude to avoid hardcoding particle indices - Add `Decay` enum to handle particle assignment (expandable in future) and make other enums into pyclasses ## [0.9.2](https://github.com/denehoffman/rustitude/compare/py-rustitude-v0.9.1...py-rustitude-v0.9.2) - 2024-07-23 ### Added - add python API for adding `Dataset`s - add methods to allow EPS to be calculated from polarization angle and magnitude - remove duplicate methods for loading data and replace with enum ### Fixed - resolve some errors in `__init__.py` ## [0.9.1](https://github.com/denehoffman/rustitude/compare/py-rustitude-v0.9.0...py-rustitude-v0.9.1) - 2024-07-23 ### Added - update python API to reflect breaking changes in `rustitude-core` - add methods/getters to get free/fixed parameters from Models, Managers, and ELLs - adds f64 and f32 variants of each Python binding - add ganesh for fitting with Nelder-Mead algorithm - add Debug, Display, and Clone to Manager-like structs - add getters for datasets, models, and managers under Manager and ELL, as well as __str__ and __repr__ for both ### Fixed - update python parameter getters for fixed/free to use the core-level functions - remove __rustitude_precision__ field - remove some LSP errors in __init__.py - add __rustitude_precision__ to pyi ### Other - change names to have _64 or _32 endings, make sure there is a backward-compatible ending-less version that matches _64 for all classes - remove unused import - changed external rust library pathing ## [0.8.0](https://github.com/denehoffman/rustitude/compare/py-rustitude-v0.7.4...py-rustitude-v0.8.0) - 2024-06-27 ### Added - remove RwLock from Dataset and adopt indexing methods for splitting data - [**breaking**] add indexed versions of all evaluators and selectors - add isolate method as a shortcut for activating a set of amplitudes - add as_minuit and minimize functions to python API - add fixed/free properties to parameters in python API ### Fixed - opt-in to py-clone feature and get rid of another deprecation warning - add scipy and iminuit dependencies to python package - update pol_in_beam method on python API to correctly load Beam_P4 and EPS - remove const functions for now, they fail on nightly ### Other - update dependencies - remove deprecated norm_int methods - corrected mistake in README.md - update all README.mds - update badges ## [0.7.4](https://github.com/denehoffman/rustitude/compare/py-rustitude-v0.7.3...py-rustitude-v0.7.4) - 2024-06-21 ### Added - Add the ability to create new Nodes in Python ### Fixed - finish error handling for custom PyNode GIL issues ### Other - Merge branch 'main' into development ## [0.7.3](https://github.com/denehoffman/rustitude/compare/py-rustitude-v0.7.2...py-rustitude-v0.7.3) - 2024-06-20 ### Fixed - from_dict should not assume Pz_Beam = E_Beam ### Other - Merge pull request [#11](https://github.com/denehoffman/rustitude/pull/11) from denehoffman/development ## [0.7.0](https://github.com/denehoffman/rustitude/compare/py-rustitude-v0.6.0...py-rustitude-v0.7.0) - 2024-06-10 ### Added - [**breaking**] Restructures AmpOp into concrete types - add par_ versions for all compute and norm_int methods and refactor python accordingly. Also remove RwLocks and extra allocations in the Amplitude struct, which is a huge speedup ### Other - bump python package version - Merge branch 'main' of https://github.com/denehoffman/rustitude - fix README.md on python crate ## 0.4.3 (2024-05-24) ### Chore - bump python library version - bump python library version ### New Features - additional API so python interactions with managers can actually modify the amplitudes they manage - add RustitudeError and remove unwraps, error handling should work in python as well ### Bug Fixes - remove unsafe transmutes, they weren't working properly and probably aren't needed anyway - fix py-rustitude dependencies - readmes and licenses suck ### Refactor - major move required to have rustitude function properly as a Rust crate. I set this up very wrong the first time ### Commit Statistics - 12 commits contributed to the release over the course of 8 calendar days. - 8 commits were understood as [conventional](https://www.conventionalcommits.org). - 0 issues like '(#ID)' were seen in commit messages ### Commit Details
view details * **Uncategorized** - Release py-rustitude v0.4.3 ([`85fa50e`](https://github.com/denehoffman/rustitude/commit/85fa50ee82bc94d288c2ae145cb9bc8d1ca073d2)) - Release py-rustitude v0.4.3 ([`573e76a`](https://github.com/denehoffman/rustitude/commit/573e76ae26b8008046cc6c4221c20bc476e18f88)) - Merge pull request #3 from denehoffman/python_reorg ([`467caac`](https://github.com/denehoffman/rustitude/commit/467caacc688f94c074d28be1ec54a422d8d9ebc0)) - Additional API so python interactions with managers can actually modify the amplitudes they manage ([`d2a94a5`](https://github.com/denehoffman/rustitude/commit/d2a94a57466c0b2556850315b8902cf9528598de)) - Remove unsafe transmutes, they weren't working properly and probably aren't needed anyway ([`dba3b5b`](https://github.com/denehoffman/rustitude/commit/dba3b5bbd9b93622c32e6042062d75da972c073e)) - Add RustitudeError and remove unwraps, error handling should work in python as well ([`6955773`](https://github.com/denehoffman/rustitude/commit/6955773a3e96890efa4573d5c7bc355bb23a07e6)) - Move all pyo3 code to the py-rustitude crate ([`9bcdb46`](https://github.com/denehoffman/rustitude/commit/9bcdb4615fdb4df5b4566673fbed955930926b7c)) - Bump python library version ([`800db45`](https://github.com/denehoffman/rustitude/commit/800db450c6743d409c44b1dff74263288d63d8c1)) - Fix py-rustitude dependencies ([`b6c8e24`](https://github.com/denehoffman/rustitude/commit/b6c8e24db3376ebabbe3fc113712dc0f33072caa)) - Readmes and licenses suck ([`174a6f5`](https://github.com/denehoffman/rustitude/commit/174a6f540fa8f2b0292a9657e87acbe65edcaf71)) - Bump python library version ([`9d854af`](https://github.com/denehoffman/rustitude/commit/9d854af5046ac30aacc6c369716337a863b4279a)) - Major move required to have rustitude function properly as a Rust crate. I set this up very wrong the first time ([`9089c84`](https://github.com/denehoffman/rustitude/commit/9089c84e481124ff764b24f42507ab14913fef07))
## 0.4.1 (2024-05-15) ### Bug Fixes - add package info into workspace ### Other - merge rustitude-core to crates subdirectory - more Cargo.lock and readme updates - update Cargo.tomls - move rustitude to crates subdirectory ### Refactor - move rustitude into the crates directory and add to workspace ## 0.4.0 (2024-05-15) ### Bug Fixes - make add_submodule public ### Other - reorganize crate structure ## 0.3.4 (2024-05-06) ### Chore - bump python library version ### Documentation - Update README.md - Update README.md - fixed some links - Update README.md ### New Features - add type checking and re-export rustitude-core and rustitude-gluex as their own submodules ### Bug Fixes - correct spelling ### Other - update Cargo.lock - re-enable tag check - temporarily disable tag check so we can push to pypi through an action - re-enable on-push and on-PR workflow conditions A release only happens with a new tag - update pyproject.toml version ## 0.3.3 (2024-05-03) ### Chore - update pyproject.toml info ### Other - remove unused library in rustitude-gluex which prevented cross-compilation - Update maturin.yml don't publish on every push, need to set up more for that - add maturin github actions ## 0.3.3-pypi (2024-05-03) ### Chore - update pyproject.toml info ### Other - remove unused library in rustitude-gluex which prevented cross-compilation - Update maturin.yml don't publish on every push, need to set up more for that - add maturin github actions ## 0.3.2 (2024-05-02) ### Chore - bump rustitude dependency versions ### New Features - initial commit to rustitude meta-crate Includes some preliminary PyO3 bindings for the rustitude-core crate as well as rustitude-gluex bindings for testing. The gluex submodule will eventually be behind a feature gate! ### Other - Create rust.yml - add README and CHANGELOG ### Reverted - opt for implementing all pyo3 bindings in their own submodules - this package will be very lightweight! ### Style - add local notes - Create LICENSE - update .gitignore ## 0.3.1 (2024-04-10) ### Chore - update Cargo.lock ### Documentation - update README.md - update README.md - document ParameterType - document Scalar and ComplexScalar - document Amplitude - document Node - document macros ### New Features - add pretty printing to Parameter struct - formalize Parameter struct - rework loading from parquet and different ways to load EPS - modify output of Manage::parameters to include other parameter fields - re-export num_complex::Complex64 ### Bug Fixes - make Manager::compute public again - fix tests - reorganize amplitude module into amplitude and manager restructure manager via Manage trait - remove nightly-only feature which was unused - doctest ### Other - update .gitignore - get rid of expect, gluex - some updates to bacon and other configs - first commit of functional code This really doesn't work well at all, it is super slow and hoards memory ### Style - remove line from docs-header.html ## 0.3.0 (2024-04-05) ## 0.2.0-alpha (2024-02-02) ### Chore - Release rustitude version 0.2.0-alpha ### New Features - re-implement dependency resolution ### Other - add Resolver trait and some other minor organizational things ### Refactor - change par_evaluate_on to evaluate_on_par This matches other methods and makes the API more consistent. It also makes it easier to search for the parallel version if you already know the non-parallel version by typing completion. - changed resolve to function to match amplitude plus other aesthetic changes - major rewrite of Dataset and Variable types While this is technically a breaking change, I'm still working in 0.1.* here. The core of this is that Dataset entries are no longer enums, which have the size of their largest variant (in our case, complex matrices probably). This is bad, as it wastes memory and takes longer to move around. While I still haven't tested this, I believe my solution is better, and as far as I can tell, it makes a lot of the code cleaner. It did require a rewrite of Variable, since the return type is no longer an enum, so there are now multiple Variable variants, each with Builders. I also added a Builder to the Amplitude struct, and renamed the traits Amplitude(Variable)Builder to IntoAmplitude(Variable) to avoid confusion. I disabled most of the gluex code while I'm working through the changes, but Ylm is implemented and might work, although I haven't tested it at time of writing. Assume tests will break here. ### Style - give logo a white background - add logo ## 0.1.3 (2023-12-29) ### New Features - add Pow trait and pow function to Amplitude - allow for different amplitudes for data and MC This ensures we can assign weights as part of the amplitude, but users can choose whether they want weighted MC or not. Also makes it easy if your branch names differ between the two files, you only have to re-implement some things. - add Branch struct Branch is a convenience wrapper for getting data from the Dataset without duplicating or copying anything into a new variable dependency. ### Bug Fixes - doctests were taking Strings after I changed to &str ### Refactor - move data extraction into dataset and propogate errors - change inputs to functions to &str ### Style - try out logging fit steps - remove some commented-out code ## 0.1.2-beta.2 (2023-12-29) ### Chore - release ## 0.1.2-beta.1 (2023-12-29) ### Chore - Release rustitude version 0.1.2-beta.1