There is a newer version of the record available.

Published December 9, 2015 | Version v1.2.0
Software Open

sncosmo: v1.2.0

  • 1. UC Berkeley
  • 2. University of South Carolina
  • 3. UC Berkeley / LBNL C3
  • 4. LBNL
  • 5. Lawrence Berkeley National Laboratory
  • 6. Oskar Klein Centre
  • 7. Minnesota State University Moorhead

Description

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.

Files

sncosmo-v1.2.0.zip

Files (658.5 kB)

Name Size Download all
md5:c4f0d2122cb82f173c6d7f7f71724ab4
658.5 kB Preview Download

Additional details

Related works