Spyral-utils

Latest version: v2.0.0

Safety actively analyzes 701762 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

2.0.0

Update dependencies for Numpy 2.1 and Python 3.13

What's Changed
* Update dev, prepare for numba 0.61.0 by gwm17 in https://github.com/ATTPC/spyral-utils/pull/18
* Numpy 2.1 update by gwm17 in https://github.com/ATTPC/spyral-utils/pull/19


**Full Changelog**: https://github.com/ATTPC/spyral-utils/compare/v1.2.0...v2.0.0

1.2.0

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
* Add GasMixtureTarget, refactor target code by gwm17 in https://github.com/ATTPC/spyral-utils/pull/17


**Full Changelog**: https://github.com/ATTPC/spyral-utils/compare/v1.1.0...v1.2.0

1.1.0

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.

1.0.0

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.

0.3.0

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.

0.2.2

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

Page 1 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.