/SpectResC

SpectResC is an implementation of SpectRes with C-extension in Python.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

SpectResC: : Simple Spectral Resampling in C

Coverage Status Readthedocs Status arXiv PyPI version DOI

This is a Python package written with C extension to provide significant performance gain on SpectRes, and some performance over the numba implementation:

alt text

We keep the implementation as close to SpectRes as possible. As of SpectRes v2.2.0, we do not see discrepant results between using SpectRes and SpectResC.

Installation

SpectResC can be installed using pip

pip install spectresc

Documentation

Please refer to the original SpectRes for the documentation.

Citation

If you have made use of SpectResC, please reference:

  1. the original SpectRes arXiv article
  2. the zenodo DOI for SpectResC