Skip to content

Commit

Permalink
use automatic convolution method (that's faster)
Browse files Browse the repository at this point in the history
  • Loading branch information
segasai committed Nov 17, 2024
1 parent 2a75593 commit cf00683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/rvspecfit/spec_fit.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit cf00683

Please sign in to comment.