Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
debora-pe committed Dec 20, 2024
1 parent 9b233e1 commit 782162d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions pypeit/core/arc.py
Original file line number Diff line number Diff line change
Expand Up @@ -1002,8 +1002,8 @@ def detect_lines(censpec, sigdetect=5.0, fwhm=4.0, fit_frac_fwhm=1.25, input_thr
sigma_lower=3.0, sigma_upper=3.0, cenfunc= np.nanmedian,
stdfunc = np.nanstd)
if stddev == 0.0:
msgs.warn('stddev = 0.0, so resetting to 1.0')
stddev = 1.0
msgs.warn('stddev = 0.0, so resetting to 0.1')
stddev = 0.1
thresh = med + sigdetect * stddev
else:
med = 0.0
Expand Down
3 changes: 0 additions & 3 deletions pypeit/core/flexure.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,12 @@
from pypeit import msgs
from pypeit import dataPaths
from pypeit import io
from pypeit import utils
from pypeit.display import display
from pypeit.core.wavecal import autoid
from pypeit.core import arc
from pypeit.core import extract
from pypeit.core import fitting
from pypeit.core import qa
from pypeit.core import trace
from pypeit.core.wavecal import wvutils
from pypeit.datamodel import DataContainer
from pypeit.images.detector_container import DetectorContainer
from pypeit.images.mosaic import Mosaic
Expand Down

0 comments on commit 782162d

Please sign in to comment.