Spyral-utils

Latest version: v1.1.0

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

Scan your dependencies

Page 1 of 2

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

0.2.1

Fix a bug in cut is_cols_inside

0.2.0

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.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.