Skip to content

spextractor is a Python package designed to extract line velocities and more from astronomical spectra using Gaussian process regression.

License

Notifications You must be signed in to change notification settings

anthonyburrow/spextractor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spextractor

GitHub Actions Workflow Status License: GPL v3

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.


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.

Example Type Ia Spectrum


Installation

Clone the repository and install the package using pip:

git clone https://github.com/anthonyburrow/spextractor.git
cd spextractor
pip install .

Usage

See the examples found in the examples directory.


Acknowledgements

This repository is a fork of the original spextractor by Seméli Papadogiannakis.

About

spextractor is a Python package designed to extract line velocities and more from astronomical spectra using Gaussian process regression.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 94.4%
  • Makefile 5.6%