Skip to content

Releases: sncosmo/sncosmo

v2.4.0

05 Mar 19:30
Compare
Choose a tag to compare
  • Add SUGAR model from Leget et al. (2020)
  • Add support for the iminuit 2.0 API (#291).
  • Update tox to work with any version of Python 3.
  • Bugfixes:
    • Fix flatten_result bug due to API change (#285).

v2.3.0

16 Nov 20:20
960f818
Compare
Choose a tag to compare
  • Add Swift UVOT bandpasses.
  • Bugfixes:
    • Fix segfaults in bicubic interpolation.

v2.2.0

23 Oct 19:34
9a9cdd0
Compare
Choose a tag to compare
  • Add core-collapse models from Vincenzi et al. (2019)
  • New Spectrum class to handle processing and fitting spectral observations.
  • Removed appveyor builds.
  • Bugfixes:
    • Prevent segfaults in light curve fitting when the minuit fit fails.

v2.1.0

26 Feb 06:49
b913749
Compare
Choose a tag to compare
prep for v2.1.0 release (#264)

v1.8.0

25 May 21:49
Compare
Choose a tag to compare
  • Add version 2.0 of many snana-... built-in core-collapse models, based on Pierel et al. 2018 (#229).

  • Bugfixes:

    • Fix compatibility with scipy 1.3+ by removing outdated import statements (#238).

    • Fix issue affecting optimization of models with free propagation effects (#236).

v1.7.1

14 Feb 17:07
Compare
Choose a tag to compare
fix bug in setup

v1.4.0

23 Nov 17:47
Compare
Choose a tag to compare
prepare for v1.4.0 release

v1.2.0

09 Dec 22:32
Compare
Choose a tag to compare

API Changes

  • Registry functions moved to the top-level namespace:

    • sncosmo.registry.register() -> sncosmo.register()
    • sncosmo.registry.register_loader() -> sncosmo.register_loader()
    • sncosmo.registry.retrieve() -> deprecated, use class-specific functions such as sncosmo.get_bandpass().

    The old import paths will still work, so this is backwards compatible.

Enhancements

  • nest_lc() now uses the nestle module under the hood. A new
    keyword method is available which selects different sampling
    methods implemented by nestle. The new methods provide potential
    efficiency gains.
  • The MLCS2k2 model is now available as a built-in Source, with the
    name 'mlcs2k2'.
  • Bandpasses from the Carnegie Supernova Project added to built-ins.
  • In realize_lcs(), a new scatter keyword makes adding noise
    optional.

In addition, there have been several minor bug fixes and
documentation improvements.

v1.0.0

26 Feb 03:36
Compare
Choose a tag to compare

API changes:

  • The API of mcmc_lc has changed significantly (the function was marked
    experimental in previous release).
  • [DEPRECATION] In result of fit_lc, res.cov_names changed to
    res.vparam_names.
  • [DEPRECATION] In result of nest_lc, res.param_names changed to
    res.vparam_names. This is for compatibility between the results of fit_lc
    and nest_lc. [#30]
  • [DEPRECATION] Deprecate flatten keyword argument in fit_lc() in
    favor of explicit use of flatten_result() function.

Enhancements:

  • Many new built-in models.
  • Many new built-in bandpasses.
  • New remote data fetching system. [#73]
  • SALT2 model covariance available via Model.bandfluxcov() method and
    modelcov=True keyword argument passed to fit_lc.
  • New simulation function, zdist, generates a distribution of redshifts
    given a volumetric rate function and cosmology.
  • New simulation function, realize_lcs, simulates light curve data given a
    model, parameters, and observations.
  • Add color-related keyword arguments to plot_lc().
  • Add tighten_ylim keyword argument to plot_lc().
  • Add chisq() function and use internally in fit_lc().
  • Add SFD98Map class for dealing with SFD (1998) dust maps persistently so
    that the underlying FITS files are opened only once.
  • Update get_ebv_from_map() to work with new SkyCoord class in
    astropy.coordinates available in astropy v0.3 onward. Previously, this
    function did not work with astropy v0.4.x (where older coordinates classes
    had been removed).
  • Update to new configuration system available in astropy v0.4 onward.
    This makes this release incompatible with astropy versions less than
    0.4.
  • Now compatible with Python 3.
  • Increased test coverage.
  • Numerous minor bugfixes.