Skip to content

Commit

Permalink
use existing resampling tools and eliminate pysynphot dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-simpson committed Oct 26, 2023
1 parent b1b3f39 commit 1c733b4
Show file tree
Hide file tree
Showing 2 changed files with 145 additions and 304 deletions.
5 changes: 5 additions & 0 deletions geminidr/ghost/parameters_ghost_spect.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,11 @@ class combineOrdersConfig(config.Config):
}, default='loglinear')
oversample = config.RangeField("Oversampling of output wavelength scale",
float, 1.0, min=0.5, max=10, inclusiveMax=True)
stacking_mode = config.ChoiceField("Method of stacking spectra", str,
allowed={"none": "No stacking",
"scaled": "Scale spectra before stacking",
"unscaled": "Stack spectra without scaling"},
default="scaled", optional=True)


class findAperturesConfig(config.Config):
Expand Down
Loading

0 comments on commit 1c733b4

Please sign in to comment.