Skip to content

v1.3

Compare
Choose a tag to compare
@github-actions github-actions released this 23 Nov 22:46
d55838d

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