Skip to content

Commit

Permalink
scipy.signal.hann -> scipy.signal.windows.hann
Browse files Browse the repository at this point in the history
  • Loading branch information
skim0119 authored Dec 3, 2024
1 parent f2d398a commit c78c82c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/miv_simulator/stimulus.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@ def get_equilibration(env: AbstractEnv) -> Tuple[ndarray, int]:
env.stimulus_config["Equilibration Duration"]
/ env.stimulus_config["Temporal Resolution"]
)
from scipy.signal import hann
from scipy.signal.windows import hann


equilibrate_hann = hann(2 * equilibrate_len)[:equilibrate_len]
equilibrate = (equilibrate_hann, equilibrate_len)
Expand Down

0 comments on commit c78c82c

Please sign in to comment.