Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
debora-pe committed Nov 22, 2024
1 parent 80676b4 commit 279975d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pypeit/core/flexure.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def spat_flexure_shift(sciimg, slits, bpm=None, maxlag=20, sigdetect=10., debug=
msgs.warn('No peak detected in the collapsed sobel images. Assuming there is NO SPATIAL FLEXURE.'
+ msgs.newline() + 'If a flexure is expected, consider either changing the '
'"spat_flexure_sigdetect" parameter, or use the manual flexure correction.')

return 0.
# run x-cross correlation
lags, xcorr = utils.cross_correlate(corr_sci, corr_slits, maxlag)
xcorr_denom = np.sqrt(np.sum(corr_sci*corr_sci)*np.sum(corr_slits*corr_slits))
Expand Down

0 comments on commit 279975d

Please sign in to comment.