diff --git a/py/rvspecfit/spec_fit.py b/py/rvspecfit/spec_fit.py index 3b3c28c..ca86db4 100644 --- a/py/rvspecfit/spec_fit.py +++ b/py/rvspecfit/spec_fit.py @@ -437,7 +437,7 @@ def convolve_vsini(lam_templ, templ, vsini): # ensure that the lambda is spaced logarithmically assert (np.allclose(lam_templ[1] / lam_templ[0], lam_templ[-1] / lam_templ[-2])) - templ1 = scipy.signal.fftconvolve(templ, kernel, mode='same') + templ1 = scipy.signal.convolve(templ, kernel, mode='same', method='auto') return templ1