Skip to content

Commit

Permalink
Merge pull request #1668 from pypeit/hotfix_jointfit
Browse files Browse the repository at this point in the history
Hotfix joint skysub
  • Loading branch information
rcooke-ast authored Sep 11, 2023
2 parents 8a8d0e7 + 9072ebd commit 6e551ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pypeit/core/skysub.py
Original file line number Diff line number Diff line change
Expand Up @@ -1450,7 +1450,7 @@ def convolve_skymodel(input_img, fwhm_map, thismask, subpixel=5, nsample=10):
xkern = np.arange(kernsize, dtype=int) - midp
kern = np.exp(-0.5 * (xkern / kernwids[kk]) ** 2)
kern = kern / np.sum(kern)
conv_allkern[:, :, kk] = utils.rebinND(utils.convolve_fft(_input_img, _input_msk, kern), input_img.shape)
conv_allkern[:, :, kk] = utils.rebinND(utils.convolve_fft(_input_img, kern, _input_msk), input_img.shape)

# Collect all of the images
msgs.info(f"Collating all convolution steps")
Expand Down

0 comments on commit 6e551ae

Please sign in to comment.