Skip to content

v1.0

Compare
Choose a tag to compare
@github-actions github-actions released this 30 Nov 21:24

What's Changed

v1.0 is a major new release of sntools with two headlining features:

  • 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 integration (#32): Adds support for five additional flavor transformations and six additional input formats for supernova models.
  • 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 requires Python 3.6 or higher (#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.

Full Changelog: v0.7.4...v1.0