v1.2.0
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 assncosmo.get_bandpass()
.
The old import paths will still work, so this is backwards compatible.
Enhancements
nest_lc()
now uses thenestle
module under the hood. A new
keywordmethod
is available which selects different sampling
methods implemented bynestle
. 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 newscatter
keyword makes adding noise
optional.
In addition, there have been several minor bug fixes and
documentation improvements.