Astrophysics Source Code Library

Making codes discoverable since 1999

ASCL Code Record

[ascl:2104.019] SpectRes: Simple spectral resampling

SpectRes efficiently resamples spectra and their associated uncertainties onto an arbitrary wavelength grid. The Python 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.

Code site:
Used in:
Described in:

Views: 220

Add this shield to your page
Copy the above HTML to add this shield to your code's website.