spextractor is a Python package designed to extract line velocities and pseudo-equivalent widths (pEWs) from astronomical spectra using Gaussian process regression (GPR). While originally tailored for Type Ia supernovae (SNe Ia), this code is adaptable to other spectral types and features.
- Gaussian process smoothing: Applies GPR to model spectral data, providing smooth interpolations and uncertainty estimates.
- Feature Extraction: Calculates velocities and pEWs for specified spectral features.
- Uncertainty Estimation: Offers statistical error estimates for measurements.
- Extensibility: Easily adaptable to different spectral features and types beyond SNe Ia.
Clone the repository and install the package using pip:
git clone https://github.com/anthonyburrow/spextractor.git
cd spextractor
pip install .See the examples found in the examples directory.
This repository is a fork of the original spextractor by Seméli Papadogiannakis.
