Recent Releases of SNEWPY
SNEWPY - v1.6
What's Changed
- Added support for new supernova models
Yoshida_2016pre-supernova model family (https://github.com/SNEWS2/snewpy/pull/330)Fischer_2020core-collapse supernova model family (https://github.com/SNEWS2/snewpy/pull/347)Bugli_2021core-collapse supernova model family (https://github.com/SNEWS2/snewpy/pull/354)
- Added analytical model to extend the neutrino cooling tail of CCSN models (https://github.com/SNEWS2/snewpy/pull/312, https://github.com/SNEWS2/snewpy/pull/380)
- Improved support for various dark matter detectors (https://github.com/SNEWS2/snewpy/pull/319, https://github.com/SNEWS2/snewpy/pull/355)
- Fixed issues with model file downloads under Windows (https://github.com/SNEWS2/snewpy/pull/341, https://github.com/SNEWS2/snewpy/pull/359)
- Fixed issue where time had wrong sign for preSN models (https://github.com/SNEWS2/snewpy/pull/379)
- Added pre-rendered version of sample notebooks to documentation (https://github.com/SNEWS2/snewpy/pull/374)
- Various minor bugfixes, performance, documentation and other improvements (https://github.com/SNEWS2/snewpy/pull/355, https://github.com/SNEWS2/snewpy/pull/357, https://github.com/SNEWS2/snewpy/pull/360, https://github.com/SNEWS2/snewpy/pull/361, https://github.com/SNEWS2/snewpy/pull/364)
Compatibility and Deprecations
- This version of SNEWPY supports Python 3.9 or higher. (https://github.com/SNEWS2/snewpy/pull/362)
New Contributors
- @evamick made their first contribution in https://github.com/SNEWS2/snewpy/pull/355
- @dveyrat made their first contribution in https://github.com/SNEWS2/snewpy/pull/312
Full Changelog: https://github.com/SNEWS2/snewpy/compare/v1.5.1...v1.6
Scientific Software - Peer-reviewed
- Python
Published by github-actions[bot] 10 months ago
SNEWPY - 1.5
What's Changed
- Added support for pre-supernova models
- Added two new core-collapse supernova model families:
Fornax_2022contains 100 long-duration 2D simulations (from arXiv:2307.08735)Mori_2023contains 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
ar40ktdetector configuration. After applying correct efficiencies, the event rate forar40ktis 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
- @santosmv made their first contribution in https://github.com/SNEWS2/snewpy/pull/260
Full Changelog: https://github.com/SNEWS2/snewpy/compare/v1.4.1...1.5
Scientific Software - Peer-reviewed
- Python
Published by github-actions[bot] almost 2 years ago
SNEWPY - v1.4.1
What's Changed
- Reverts name of an argument to
MixingParametersto restore backwards compatibility - Updates a few Jupyter notebooks to support new simulations added in SNEWPY v1.4
Full Changelog: https://github.com/SNEWS2/snewpy/compare/v1.4...v1.4.1
Scientific Software - Peer-reviewed
- Python
Published by github-actions[bot] over 2 years ago
SNEWPY - 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_2018andWalk_2019models. - Significant performance improvements for
snewpy.snowglobesthanks 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.
New Contributors
- @jakob2508 made their first contribution in https://github.com/SNEWS2/snewpy/pull/266
Full Changelog: https://github.com/SNEWS2/snewpy/compare/v1.3...v1.4
Scientific Software - Peer-reviewed
- Python
Published by github-actions[bot] over 2 years ago
SNEWPY - 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
paramproperty 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 toSupernovaModelsubclasses insnewpy.models - Improved
get_initial_spectra(t, E)andget_transformed_spectra(t, E)functions: allSupernovaModelsubclasses insnewpy.modelsnow support arrays of times as the argumentt - Fixed issue when using the
ar40kt_heandwc100kt30prct_hedetector 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.ccsnfrom a file name is deprecated in favour of initialising from physics parameters. For details on parameters available for each model class, please see theparamproperty andget_param_combinations()function or read the documentation. (Under the hood, there are now separate classes insnewpy.models.loadersthat load models from a local file; however, these are not guaranteed to be stable and may change at any time without warning.)
Full Changelog: https://github.com/SNEWS2/snewpy/compare/v1.2.1...v1.3
Scientific Software - Peer-reviewed
- Python
Published by github-actions[bot] about 3 years ago
SNEWPY - v1.2.1
What's Changed
- Fixed crash when trying to initialise some
SupernovaModels with NumPy 1.23 or above - Fixed issue where some
SupernovaModelsubclasses would not distinguish between NUX and NUX_BAR. (This only affects users who had custom model files. Model files included with SNEWPY are not affected.) - Correct equation of state for
Warren_2020model
New Contributors
- @joesmolsky made their first contribution in https://github.com/SNEWS2/snewpy/pull/187
Full Changelog: https://github.com/SNEWS2/snewpy/compare/v1.2...v1.2.1
Scientific Software - Peer-reviewed
- Python
Published by github-actions[bot] over 3 years ago
SNEWPY - v1.2
What's Changed
- Rewrote
simulate()andcollate()functions insnewpy.snowglobesto be significantly faster (ca. 6×, depending on the workflow) - Added
detector_effects=Falseargument tosnewpy.snowglobes.collate()to use a simplified rate computation that does not require GLoBES - Fixed issue where
Fornax_2021model 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
SupernovaModelsubclasses were moved fromsnewpy.modelstosnewpy.models.ccsn. (In this version, importing them from their previous location will still work, but generate a warning.) snewpy.snowglobes.simulate():- The
verboseparameter is deprecated in favor of theloggingmodule.
- The
snewpy.snowglobes.collate()- The
verboseparameter is deprecated in favor of theloggingmodule. - The
detector_inputparameter is deprecated. SNEWPY will now automatically use all detectors included in the tarball generated bysimulate(). - The
remove_generated_filesparameter is deprecated.
- The
New Contributors
- @svalder made their first contribution in https://github.com/SNEWS2/snewpy/pull/168
- @soso128 made their first contribution in https://github.com/SNEWS2/snewpy/pull/171
Full Changelog: https://github.com/SNEWS2/snewpy/compare/v1.1...v1.2
Scientific Software - Peer-reviewed
- Python
Published by github-actions[bot] about 4 years ago
SNEWPY - 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_2013model - Easier interface to download available SN model files
- Redesigned SNOwGLoBES interface (
snewpy.snowglobesmodule) - 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 https://github.com/SNEWS2/snewpy/pull/35
- @schol made their first contribution in https://github.com/SNEWS2/snewpy/pull/39
- @thomahrens made their first contribution in https://github.com/SNEWS2/snewpy/pull/41
- @mcolomermolla made their first contribution in https://github.com/SNEWS2/snewpy/pull/56
- @jpkneller made their first contribution in https://github.com/SNEWS2/snewpy/pull/93
- @sgriswol made their first contribution in https://github.com/SNEWS2/snewpy/pull/105
Full Changelog: https://github.com/SNEWS2/snewpy/compare/v1.0.0...v1.1
Scientific Software - Peer-reviewed
- Python
Published by github-actions[bot] over 4 years ago
SNEWPY - v1.1b3
- minor API simplification
This version was submitted to the Journal of Open Source Software.
Scientific Software - Peer-reviewed
- Python
Published by github-actions[bot] over 4 years ago
SNEWPY - v1.1b1
- Added multiple new models (Zha2021, Fornax2019, Fornax2021, Tamborra2014, Tamborra2014, Walk2018, Walk_2019)
- SNEWPY is now available on PyPI
- User can select which models to download
- Various minor bugfixes and improvements
To install: pip install snewpy
To download models: python -c 'import snewpy; snewpy.get_models()'
Scientific Software - Peer-reviewed
- Python
Published by JostMigenda over 4 years ago
SNEWPY - Release 1 alpha
First public release of SNEWPY, which provides access to 1D, 2D, and 3D supernova neutrino burst simulations and computes detector responses using the SNOwGLoBES open-source package.
Scientific Software - Peer-reviewed
- Python
Published by sybenzvi about 5 years ago