What's Changed
<ul>
<li><strong>Remove dependency on GLoBES.</strong> SNEWPY now includes code to calculate event rates directly, making it much easier to install and improving performance of <code>snewpy.snowglobes.simulate()</code> when using multiple time bins. SNOwGLoBES still needs to be downloaded separately, but it no longer needs to be compiled.</li>
<li>Added simplified interface to initialise models from physics parameters (e.g. progenitor mass, metallicity)<ul>
<li>Added <code>param</code> property and <code>get_param_combinations()</code> function to each model class to explore available progenitors.</li>
<li>The first time a specific progenitor is initialised, SNEWPY automatically downloads the required input files to the <a href="https://docs.astropy.org/en/stable/api/astropy.config.get_cache_dir.html?highlight=get_cache_dir">AstroPy cache directory</a>, so users no longer need to manage files manually.</li>
</ul>
</li>
<li>Added <code>get_flux()</code> function to <code>SupernovaModel</code> subclasses in <code>snewpy.models</code></li>
<li>Improved <code>get_initial_spectra(t, E)</code> and <code>get_transformed_spectra(t, E)</code> functions: all <code>SupernovaModel</code> subclasses in <code>snewpy.models</code> now support arrays of times as the argument <code>t</code></li>
<li>Fixed issue when using the <code>ar40kt_he</code> and <code>wc100kt30prct_he</code> detector configurations with <code>snewpy.snowglobes.simulate()</code></li>
<li>Various minor bugfixes, performance, documentation and other improvements</li>
</ul>
Compatibility and Deprecations
<ul>
<li>This version of SNEWPY supports Python 3.7 or higher.</li>
<li>Initialising a supernova model in <code>snewpy.models.ccsn</code> 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 <code>param</code> property and <code>get_param_combinations()</code> function or <a href="https://snewpy.readthedocs.io/en/v1.3/models.html#module-snewpy.models.ccsn">read the documentation</a>. (Under the hood, there are now separate classes in <code>snewpy.models.loaders</code> that load models from a local file; however, these are not guaranteed to be stable and may change at any time without warning.)</li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/SNEWS2/snewpy/compare/v1.2.1...v1.3">https://github.com/SNEWS2/snewpy/compare/v1.2.1...v1.3</a></p>