Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Closes #2
Browse files Browse the repository at this point in the history
Fixes incorrect BVP filter parameters.
  • Loading branch information
capcarr committed Jan 5, 2016
1 parent 5756efc commit 9df67b4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions biosppy/signals/bvp.py
Expand Up @@ -40,7 +40,7 @@ def bvp(signal=None, sampling_rate=1000., show=True):
onsets : array
Indices of BVP pulse onsets.
heart_rate_ts : array
Heart rate time axis reference (seconds).
Heart rate time axis reference (seconds).
heart_rate : array
Instantaneous heart rate (bpm).
Expand All @@ -58,9 +58,9 @@ def bvp(signal=None, sampling_rate=1000., show=True):
# filter signal
filtered, _, _ = st.filter_signal(signal=signal,
ftype='butter',
band='lowpass',
order=2,
frequency=4,
band='bandpass',
order=4,
frequency=[1, 8],
sampling_rate=sampling_rate)

# find onsets
Expand Down

0 comments on commit 9df67b4

Please sign in to comment.