desihub / fastspecfit

Fast spectral synthesis and emission-line fitting of DESI spectra.
https://fastspecfit.readthedocs.org
BSD 3-Clause "New" or "Revised" License
13 stars 2 forks source link

allow the Redrock redshift to be overridden #115

Closed moustakas closed 1 year ago

moustakas commented 1 year ago

For many applications it is useful to be able to override the redshift inferred by Redrock, e.g., to use VI redshifts. This PR adds the hooks necessary to support these redshifts (written in the context of the DESI-2 / tertiary programs).

coveralls commented 1 year ago

Pull Request Test Coverage Report for Build 4677422349


Changes Missing Coverage Covered Lines Changed/Added Lines %
py/fastspecfit/io.py 2 9 22.22%
py/fastspecfit/fastspecfit.py 3 16 18.75%
<!-- Total: 5 25 20.0% -->
Files with Coverage Reduction New Missed Lines %
py/fastspecfit/fastspecfit.py 2 13.27%
<!-- Total: 2 -->
Totals Coverage Status
Change from base Build 4588352494: -0.2%
Covered Lines: 2236
Relevant Lines: 4434

💛 - Coveralls