Skip to content. | Skip to navigation

Personal tools


You are here: Home / Data / SNooPy


SN(oo)py is a python package that contains many tools for the analysis of TypeIa supernovae.  It is not a fixed altorithm for fitting lightcurves, but rather a collection of tools that are useful for building your own fitter (or fitting interactively).  SNpy has the following capabilities and tools:

  • SNIa lightcurve template generator in the CSP passbands:  uBVgriYJHK, as well as Jose-Louis Prieto's templates for BVRI.
  • Computation of K-corrections based on Eric Hsiao's SNIa SED template, Peter Nugent's SED templates, or your own spectra, including color-matching.
  • Interactive plotting of light-curve data and models (and spectra).
  • LM non-linear least-squares fitting of light-curve data based on CSP or Prieto templates and their respective low-z calibrators.
  • Computation of reddening laws based on the Cardelli et al. extinction law.
  • Estimates of Milky-Way Extinction based  on the dust maps of Schlegel et al.
  • Various types of spline fitting (Diercx, hyper-spline, and tension splines).
  • Computing bolometric light-curves.
  • Module for dealing with filters and spectra.
  • Importing data directly from the Open Supernova Catalog.
  • Run two other popular SN Ia LC fitters:  MLCS2k2 and SALT2 from within SNooPy.