Releases: SNEWS2/snewpy
Releases · SNEWS2/snewpy
v1.5.1
What's Changed
- Fixed issue where
snewpy.snowglobes
would fail for some models
Full Changelog: v1.5...v1.5.1
v1.5
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 forar40kt
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
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
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
andWalk_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
andWalk_2019
models now require additional initialization parameters to support the larger number of available simulations.
New Contributors
- @jakob2508 made their first contribution in #266
Full Changelog: v1.3...v1.4
v1.3
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 andget_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
- Added
get_flux()
function toSupernovaModel
subclasses insnewpy.models
- Improved
get_initial_spectra(t, E)
andget_transformed_spectra(t, E)
functions: allSupernovaModel
subclasses insnewpy.models
now support arrays of times as the argumentt
- Fixed issue when using the
ar40kt_he
andwc100kt30prct_he
detector configurations withsnewpy.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 theparam
property andget_param_combinations()
function or read the documentation. (Under the hood, there are now separate classes insnewpy.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
What's Changed
- Fixed crash when trying to initialise some
SupernovaModel
s 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
- @joesmolsky made their first contribution in #187
Full Changelog: v1.2...v1.2.1
v1.2
What's Changed
- Rewrote
simulate()
andcollate()
functions insnewpy.snowglobes
to be significantly faster (ca. 6×, depending on the workflow) - Added
detector_effects=False
argument tosnewpy.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 fromsnewpy.models
tosnewpy.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 thelogging
module.
- The
snewpy.snowglobes.collate()
- The
verbose
parameter is deprecated in favor of thelogging
module. - The
detector_input
parameter is deprecated. SNEWPY will now automatically use all detectors included in the tarball generated bysimulate()
. - The
remove_generated_files
parameter is deprecated.
- The
New Contributors
Full Changelog: v1.1...v1.2
v1.1
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
- @joshuashzha made their first contribution in #35
- @schol made their first contribution in #39
- @thomahrens made their first contribution in #41
- @mcolomermolla made their first contribution in #56
- @jpkneller made their first contribution in #93
- @sgriswol made their first contribution in #105
Full Changelog: v1.0.0...v1.1
v1.1b3
v1.1b2
- 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