Skip to content

Commit

Permalink
Update studies/ecg_benchmark/README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
danibene authored Nov 15, 2022
1 parent 655d48e commit 224b639
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion studies/ecg_benchmark/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ def tarvainen(ecg, sampling_rate):
def locreg(ecg, sampling_rate):
ecg = nk.signal_detrend(ecg,
method="locreg",
window=sampling_rate/0.5,
window=1/0.5,
stepsize=0.02*sampling_rate)
signal, info = nk.ecg_peaks(ecg, sampling_rate=sampling_rate, method="neurokit")
return info["ECG_R_Peaks"]
Expand Down

0 comments on commit 224b639

Please sign in to comment.