SiaFit
A Python toolkit for measuring spectral features in Type Ia supernovae. Highlights include:
- Si II feature fitting for the λ6355 and λ5972 lines, measuring velocities, equivalent widths, and line widths.
- Ca II near-infrared triplet fitting with separate photospheric and high-velocity components.
- Combined Si and Ca workflow that passes the fitted Si II λ6355 velocity directly into the Ca fit.
- Automatic batch runs and interactive review, including manual continuum selection and separate background and fitting stages.
- Monte Carlo uncertainty estimates with configurable iterations and a random seed for reproducible runs.
- Diagnostic plots and CSV results recording fit measurements, continuum anchors, wavelength coverage, and uncertainty provenance.
- Command-line interface and Python API for catalogue-based analysis, with bundled example spectra.