Skip to content

Commit 90378c6

Browse files
authored
Update peakdet/operations.py
1 parent e99c705 commit 90378c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

peakdet/operations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def peakfind_physio(data, *, thresh=0.2, dist=None):
148148
# check if data is negative, if so make it all positive and continue with signal
149149
phys_signal = data.data - data.data.min() if data.data.min() < 0 else data.data
150150
logger.debug(
151-
f"Negative signal detected (min = {data.data.min()}), workgin with positive signal for peak detection."
151+
f"Negative signal detected (min = {data.data.min()}), working with positive signal for peak detection."
152152
)
153153

154154
thresh = np.squeeze(np.diff(np.percentile(phys_signal, [5, 95]))) * thresh

0 commit comments

Comments
 (0)