Skip to content

Commit f22c2fa

Browse files
fix test
1 parent 0005e98 commit f22c2fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

heartpy/peakdetection.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def make_windows(data, sample_rate, windowsize=120, overlap=0, min_size=20):
8989
def append_dict(dict_obj, measure_key, measure_value):
9090
'''appends data to keyed dict.
9191
92-
Function that appends key to continuous dict, creates if doesn't exist. EAFP
92+
Function that appends key to continuous dict, creates if doesn't exist.
9393
9494
Parameters
9595
----------
@@ -468,7 +468,7 @@ def interpolate_peaks(data, peaks, sample_rate, desired_sample_rate=1000.0, work
468468
469469
>>> import heartpy as hp
470470
>>> data, _ = hp.load_exampledata(0)
471-
>>> wd, m = process(data, 100.0)
471+
>>> wd, m = hp.process(data, 100.0)
472472
>>> wd['peaklist'][0:5]
473473
array([ 63, 165, 264, 360, 460], dtype=int64)
474474

0 commit comments

Comments
 (0)