Hannu Parviainen
Hannu Parviainen
The last `assert_quantity_allcose` in `test_horne_non_flat_trace` test checking that the Horne extraction from a flat trace equals the one from a non-flat trace fails occasionally. This seems to be rather rare...
This PR addresses Issue #170 by introducing a utility function `specreduce.utils.align_2d_spectrum_along_trace` to align a rectilinear 2D spectrum image along a trace. The function is based on the `specreduce.extract._align_along_trace` function and...
This draft PR proposes one way to refactor image data handling in Specreduce. The PR introduces a `specreduce.image.SRImage` class that works as a (relatively thin) wrapper around `astropy.nddata.NDDataRef`. I chose...
@kbwestfall noticed that the penalty function used to refine a wavelength calibration solution in `WavelengthCalibration1d` may lead to situations where the fit is improved by finding solutions that exclude lines...
This PR modernizes the documentation by adopting ``sphinx_astropy.conf.v2`` with the ``pydata-sphinx-theme``. It also updates and reorganizes several existing sections and introduces new documentation covering 1D wavelength calibration.
This PR introduces a new **1D wavelength calibration** class, `specreduce.wavecal1d.WavelengthCalibration1D`, intended to fully replace the existing `specreduce.wavelength_calibration.WavelengthCalibration1D` in version 2.0 (I'm keeping the previous class for backwards compatibility). The only...