Skip to content

Releases: SNEWS2/snewpy

v1.5.1

17 May 09:24
856a743
Compare
Choose a tag to compare

DOI

What's Changed

  • Fixed issue where snewpy.snowglobes would fail for some models

Full Changelog: v1.5...v1.5.1

v1.5

03 May 14:56
Compare
Choose a tag to compare

DOI

What's Changed

  • Added support for pre-supernova models
  • Added two new core-collapse supernova model families:
    • Fornax_2022 contains 100 long-duration 2D simulations (from arXiv:2307.08735)
    • Mori_2023 contains 14 simulations of axion-like particle production in 2D simulations (from arXiv:2304.11360)
  • Added new Quantum Decoherence flavor transition based on arXiv:2306.17591
  • Updated SNOwGLoBES dependency to v1.3.2. This fixes an issue where SNEWPY did not find detector efficiency files for the ar40kt detector configuration. After applying correct efficiencies, the event rate for ar40kt is reduced by ~5%.
  • Fixed issue where the function Fornax_2021.get_initial_spectra() would raise an error when given an array of times as an argument.
  • Fixed issue where get_initial_spectra() would return incorrect luminosity if the energy argument was not in units of MeV
  • The bulk model downloader (snewpy.get_models()) now uses the same download location as the on-demand download on model initialisation.
  • Various minor bugfixes, performance, documentation and other improvements

Compatibility and Deprecations

  • This version of SNEWPY supports Python 3.8 or higher.

New Contributors

Full Changelog: v1.4.1...v1.5

v1.4.1

10 Oct 22:10
f897dd9
Compare
Choose a tag to compare

DOI

What's Changed

  • Reverts name of an argument to MixingParameters to restore backwards compatibility
  • Updates a few Jupyter notebooks to support new simulations added in SNEWPY v1.4

Full Changelog: v1.4...v1.4.1

v1.4

06 Oct 20:43
68805e8
Compare
Choose a tag to compare

DOI

What's Changed

  • Improved SNOwGLoBES integration.
    • Data files for detectors are included when installing SNEWPY; SNOwGLoBES no longer needs to be downloaded separately.
    • Users who want to use custom data files can still specify a SNOwGLoBES path as before. SNEWPY now requires SNOwGLoBES v1.3.
  • Added several observer directions and progenitor masses for the Tamborra_2014, Walk_2018 and Walk_2019 models.
  • Significant performance improvements for snewpy.snowglobes thanks to a new low-level interface for neutrino flux and event rate calculations. (Note: This low-level interface is currently not stable and should not be used directly.)
  • Added a SNEWPY logo
  • Various minor bugfixes, performance, documentation and other improvements

Compatibility and Deprecations

  • This version of SNEWPY supports Python 3.8 or higher.
  • The Tamborra_2014, Walk_2018 and Walk_2019 models now require additional initialization parameters to support the larger number of available simulations.

New Contributors

Full Changelog: v1.3...v1.4

v1.3

23 Nov 22:46
d55838d
Compare
Choose a tag to compare

DOI

What's Changed

  • Removed dependency on GLoBES. SNEWPY now includes code to calculate event rates directly, making it much easier to install and improving performance of snewpy.snowglobes.simulate() when using multiple time bins. SNOwGLoBES still needs to be downloaded separately, but it no longer needs to be compiled.
  • Added simplified interface to initialise models from physics parameters (e.g. progenitor mass, metallicity)
    • Added param property and get_param_combinations() function to each model class to explore available progenitors.
    • The first time a specific progenitor is initialised, SNEWPY automatically downloads the required input files to the AstroPy cache directory, so users no longer need to manage files manually.
  • Added get_flux() function to SupernovaModel subclasses in snewpy.models
  • Improved get_initial_spectra(t, E) and get_transformed_spectra(t, E) functions: all SupernovaModel subclasses in snewpy.models now support arrays of times as the argument t
  • Fixed issue when using the ar40kt_he and wc100kt30prct_he detector configurations with snewpy.snowglobes.simulate()
  • Various minor bugfixes, performance, documentation and other improvements

Compatibility and Deprecations

  • This version of SNEWPY supports Python 3.7 or higher.
  • Initialising a supernova model in snewpy.models.ccsn from a file name is deprecated in favour of initialising from physics parameters. For details on parameters available for each model class, please see the param property and get_param_combinations() function or read the documentation. (Under the hood, there are now separate classes in snewpy.models.loaders that load models from a local file; however, these are not guaranteed to be stable and may change at any time without warning.)

Full Changelog: v1.2.1...v1.3

v1.2.1

15 Jul 19:42
705360d
Compare
Choose a tag to compare

DOI

What's Changed

  • Fixed crash when trying to initialise some SupernovaModels with NumPy 1.23 or above
  • Fixed issue where some SupernovaModel subclasses would not distinguish between NU_X and NU_X_BAR. (This only affects users who had custom model files. Model files included with SNEWPY are not affected.)
  • Correct equation of state for Warren_2020 model

New Contributors

Full Changelog: v1.2...v1.2.1

v1.2

24 Jan 17:09
46a00ea
Compare
Choose a tag to compare

DOI

What's Changed

  • Rewrote simulate() and collate() functions in snewpy.snowglobes to be significantly faster (ca. 6×, depending on the workflow)
  • Added detector_effects=False argument to snewpy.snowglobes.collate() to use a simplified rate computation that does not require GLoBES
  • Fixed issue where Fornax_2021 model could not be used with SNOwGLoBES
  • Added sample script that writes SNOwGLoBES output to ROOT files
  • Started work to support pre-supernova models (not ready for general usage yet)
  • Various minor bugfixes, performance, documentation and other improvements

Compatibility and Deprecations

  • This version of SNEWPY supports Python 3.7–3.10.
  • To prepare for pre-SN model support, the existing SupernovaModel subclasses were moved from snewpy.models to snewpy.models.ccsn. (In this version, importing them from their previous location will still work, but generate a warning.)
  • snewpy.snowglobes.simulate():
    • The verbose parameter is deprecated in favor of the logging module.
  • snewpy.snowglobes.collate()
    • The verbose parameter is deprecated in favor of the logging module.
    • The detector_input parameter is deprecated. SNEWPY will now automatically use all detectors included in the tarball generated by simulate().
    • The remove_generated_files parameter is deprecated.

New Contributors

Full Changelog: v1.1...v1.2

v1.1

22 Nov 19:16
Compare
Choose a tag to compare

DOI status

This version of SNEWPY was submitted to the Journal of Open Source Software (see pre-review and review). Many thanks to the reviewers and editors!

What's Changed since v1.0

  • Added multiple new models (Zha_2021, Fornax_2019, Fornax_2021, Tamborra_2014, Walk_2018, Walk_2019)
  • Added new Togashi EOS simulation to Nakazato_2013 model
  • Easier interface to download available SN model files
  • Redesigned SNOwGLoBES interface (snewpy.snowglobes module)
  • SNEWPY is now available on PyPI via pip install snewpy
  • Added documentation on Read The Docs, improved example notebooks and scripts
  • Various minor bugfixes, performance and other improvements

SNEWPY now requires Python 3.7 or newer.

New Contributors

Full Changelog: v1.0.0...v1.1

v1.1b3

13 Sep 19:06
Compare
Choose a tag to compare
v1.1b3 Pre-release
Pre-release

DOI

  • minor API simplification

This version was submitted to the Journal of Open Source Software.

v1.1b2

13 Sep 19:03
Compare
Choose a tag to compare
v1.1b2 Pre-release
Pre-release

DOI

  • add documentation (https://snewpy.rtfd.io) and automated unit tests
  • merge all SNOwGLoBES handling code into a single snewpy.snowglobes module
  • API changes in snewpy.snowglobes