Skip to content

SpectRes is a Python module which efficiently resamples spectra and their associated uncertainties onto an arbitrary wavelength grid. Read the documentation at

License

Notifications You must be signed in to change notification settings

pscicluna/SpectRes

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpectRes: Simple Spectral Resampling

SpectRes is a Python function which efficiently resamples spectra and their associated uncertainties onto an arbitrary wavelength grid. The function works with any grid of wavelength values, including non-uniform sampling, and preserves the integrated flux. This may be of use for binning data to increase the signal to noise ratio, obtaining synthetic photometry, or resampling model spectra to match the sampling of observational data.

Installation

SpectRes can be installed using pip

pip install spectres

Documentation

The code's documentation is available at spectres.readthedocs.io. Take a look in the examples folder of this repository for some more guidance.

For an explanation of how the code works take a look at ArXiv:1705.05165. Please consider citing this publication if you use SpectRes in your research.

About

SpectRes is a Python module which efficiently resamples spectra and their associated uncertainties onto an arbitrary wavelength grid. Read the documentation at

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%