Recent Releases of SNEWPY

SNEWPY - v1.6

DOI

What's Changed

  • Added support for new supernova models
    • Yoshida_2016 pre-supernova model family (https://github.com/SNEWS2/snewpy/pull/330)
    • Fischer_2020 core-collapse supernova model family (https://github.com/SNEWS2/snewpy/pull/347)
    • Bugli_2021 core-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 - v1.5.1

DOI

What's Changed

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

Full Changelog: https://github.com/SNEWS2/snewpy/compare/v1.5...v1.5.1

Scientific Software - Peer-reviewed - Python
Published by github-actions[bot] almost 2 years ago

SNEWPY - 1.5

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

  • @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

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: 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

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.

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

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: 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

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 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_2020 model

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

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

  • @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

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

  • @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

DOI

  • 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.1b2

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

Scientific Software - Peer-reviewed - Python
Published by github-actions[bot] over 4 years ago

SNEWPY - v1.1b1

DOI

  • 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