Releases: ATTPC/spyral-utils
Addition of Dalitz clustering
This release contains the addition of the Dalitz clustering algorithm, based on the code available at https://github.com/cdalitz/triplclust.
v2.0.0 - Numpy 2.1, Python 3.13 compatibility
v1.2.0 - GasMixtureTarget
In this release of spyral-utils, we've added a new target type, GasMixtureTarget. As the name implies this target is for impure gases where the mixture is defined by a set of compounds and volume fractions. Checkout the documentation for details on how to use this new target type.
What's Changed
Full Changelog: v1.1.0...v1.2.0
v1.1.0 - Cut2D, ParticleID axes, More target calculations
In this release of spyral-utils we added some new features to Cut2D and ParticleID
You can now specify the axis names of the Cut2D/ParticleID in both the object as well as the JSON representation. This can allow you to programmatically apply gates to arbitrary data. For example, you could set the axis names to column names of a dataframe!
We also added more calculations to the Targets. Solid and Gas Targets now both can calculate the range of an ion. Additionally, GasTargets can also provide their number density.
Some small bugs were also cleaned up. The documentation and README have been updated to reflect these changes.
v1.0.0 - Full release, minor fixes
This is the first full release of spyral-utils! We've fixed some small lingering issues in the get_subrange functions of histograms, as well as the method by which we retrieve the packaged AME data. Everything else should be much the same as ever.
- Fix bug in get_subrange functions where on the low edge was using less-than when should've been using less-than-or-equal-to.
- Fix potentially bad behavior in retrieval of AME file. In installs where spyral-utils is zipped, the old method would've failed. Now use importlib to properly retrieve resources.
v0.3.0 - Add ParticleID, remove momentum, add vector
Some small changes to help usability:
- Add ParticleID, which is a combination of Cut2D and NuclearData to the nuclear module. Previously this was in Spyral, but it makes more sense to be here.
- Remove momentum module, and replace with a dependency on the vector package. They support way more advanced vector-analysis than what we could support, so make for a much improved solution over our custom one.
Documentation is updated and dependencies are somewhat cleaned up for the development side.
v0.2.2 Fix use of cuts with dataframes
Fix the is_cols_inside function in Cut2D and add more robust testing to make sure this feature doesn't get broken in future updates
v0.2.1
v0.2.0 Remove matplotlib dep, add shapely
We've removed the matplotlib dependency. This previously restricted downstream users to the matplotlib plotting system. Now the library is plotting backend agnostic; you can use which ever plotting system you like. The library includes explicit support for matplotlib and plotly, however this support does not limit you to those pacakges. Now use Shapely to calculate geometries.
v0.1.3 Fix Bug in Momentum, Add Documentation
Fix bug in momentum C.O.M transform calculation. Add documentation hosted via GitHub pages.