Sntools

Latest version: v1.4

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

Scan your dependencies

Page 1 of 3

1.4

What's Changed
* **Adds basic support for SNEWPY v1.5** including the `Fornax_2022` and `Mori_2023` models (https://github.com/SNEWS2/sntools/pull/57)
* Fixes issue where an incomplete metadata file was written when generating events for JUNO in verbose mode (https://github.com/SNEWS2/sntools/pull/56)
* Moved sntools repository to SNEWS2 org on GitHub (https://github.com/SNEWS2/sntools/pull/54)


**Full Changelog**: https://github.com/SNEWS2/sntools/compare/v1.3...v1.4

1.3

What's Changed
* **Adds support for the JUNO detector** by mcolomermolla in https://github.com/JostMigenda/sntools/pull/48
* Improves installation speed under Python 3.11 by JostMigenda in https://github.com/JostMigenda/sntools/pull/50
* This version requires Python 3.8 or higher

New Contributors
* mcolomermolla made their first contribution in https://github.com/JostMigenda/sntools/pull/48

**Full Changelog**: https://github.com/JostMigenda/sntools/compare/v1.2...v1.3

1.2

What's Changed
* **Adding SNO+ and proton scattering** to sntools by svalder in https://github.com/JostMigenda/sntools/pull/41
* **snewpy 1.3 support** and other version updates by JostMigenda in https://github.com/JostMigenda/sntools/pull/45

New Contributors
* svalder made their first contribution in https://github.com/JostMigenda/sntools/pull/41

**Full Changelog**: https://github.com/JostMigenda/sntools/compare/v1.1...v1.2

1.1

What's Changed
* Adds support for `Fornax_2021`, `Tamborra_2014`, `Walk_2018` and `Walk_2019` models via SNEWPY (https://github.com/JostMigenda/sntools/pull/40)
* This version requires Python 3.7 or higher

**Full Changelog**: https://github.com/JostMigenda/sntools/compare/v1.0.1...v1.1

1.0.1

What's Changed
* fixes a crash when using a SNEWPY model (https://github.com/JostMigenda/sntools/pull/39)


**Full Changelog**: https://github.com/JostMigenda/sntools/compare/v1.0...v1.0.1

1.0

* **parallelize event generation (31):** On multi-core machines, sntools can now generate events for different channels in parallel. Depending on input parameters, this makes it up to 3.5× faster.
* **[SNEWPY](https://github.com/SNEWS2/snewpy) integration (#32):** Adds support for five additional flavor transformations and six additional input formats for supernova models.
* Note: At the moment, SNEWPY needs to be installed manually to get access to the neutrino fluxes included in the repository.
* Additionally, a lot of code was modernized and cleaned up. This leads to some additional performance improvements in `--verbose` mode and should ensure clearer debug output and error messages when developing or extending sntools.

Compatibility notes:
* This version drops support for all Python versions prior to 3.6 (29).
* To add multi-core support, I needed to change how the random number generator is seeded. Therefore, using the `--randomseed` argument under v1.0 generates a different output file than using the same random seed under v0.7.x.
* The `--ordering` (or `--hierarchy`) argument was deprecated in favor of `--transformation`. When using the old argument, sntools will automatically translate it to the new argument and print out a warning message explaining how to use the new argument in the future.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.