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