Skip to content

Commit

Permalink
scipy.signal.gaussian was moved to scipy.signal.windows.gaussian
Browse files Browse the repository at this point in the history
  • Loading branch information
bagibence committed Sep 24, 2024
1 parent 95fa26b commit 165ca22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyaldata/smoothing.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def norm_gauss_window(bin_length: float, std: float) -> np.ndarray:
length: 10*std/bin_length
mass normalized to 1
"""
win = scs.gaussian(int(10 * std / bin_length), std / bin_length)
win = scs.windows.gaussian(int(10 * std / bin_length), std / bin_length)
return win / np.sum(win)


Expand Down

0 comments on commit 165ca22

Please sign in to comment.