Skip to content

Commit

Permalink
update GNIRS wavecal bounds
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-simpson committed Apr 22, 2024
1 parent fc0bb0a commit 9bb8877
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions geminidr/gnirs/primitives_gnirs_spect.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,3 +439,5 @@ def _apply_wavelength_model_bounds(self, model=None, ext=None):
npix = ext.shape[dispaxis]
prange = abs(ext.dispersion(asNanometers=True)) * npix * 0.07
model.c0.bounds = (model.c0 - prange, model.c0 + prange)
dx = 0.02 * abs(model.c1.value)
model.c1.bounds = (model.c1 - dx, model.c1 + dx)

0 comments on commit 9bb8877

Please sign in to comment.