SpectRes: A Fast Spectral Resampling Tool in Python
A. C. Carnall

TL;DR
SpectRes is a Python tool that efficiently resamples spectral data onto various wavelength grids, preserving flux and uncertainties, useful for data binning, synthetic photometry, and spectral fitting.
Contribution
It introduces a fast, flexible Python function for spectral resampling that handles arbitrary wavelength grids while maintaining flux integrity.
Findings
Supports non-uniform wavelength grids
Preserves integrated flux during resampling
Enhances spectral data analysis workflows
Abstract
I present a fast Python tool, SpectRes, for carrying out the resampling of spectral flux densities and their associated uncertainties onto different wavelength grids. 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 observed data for spectral energy distribution fitting. The function can be downloaded from https://www.github.com/ACCarnall/SpectRes.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSpectroscopy and Chemometric Analyses · Spectroscopy Techniques in Biomedical and Chemical Research
