Skip to content

Commit 1ad204c

Browse files
committed
Merge branch 'doc' of github.com:MIT-LCP/wfdb-python into doc
2 parents c661d90 + 93ca1fe commit 1ad204c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wfdb/processing/basic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def resample_singlechan(x, ann, fs, fs_target):
122122
assert ann.sample.shape == new_sample.shape
123123

124124
resampled_ann = Annotation(ann.record_name, ann.extension, new_sample,
125-
ann.symbol, ann.num, ann.subtype, ann.chan, ann.aux_note, ann.fs)
125+
ann.symbol, ann.num, ann.subtype, ann.chan, ann.aux_note, fs_target)
126126

127127
return resampled_x, resampled_ann
128128

@@ -166,7 +166,7 @@ def resample_multichan(xs, ann, fs, fs_target, resamp_ann_chan=0):
166166
assert ann.sample.shape == new_sample.shape
167167

168168
resampled_ann = Annotation(ann.record_name, ann.extension, new_sample, ann.symbol,
169-
ann.num, ann.subtype, ann.chan, ann.aux_note, ann.fs)
169+
ann.num, ann.subtype, ann.chan, ann.aux_note, fs_target)
170170

171171
return numpy.column_stack(lx), resampled_ann
172172

0 commit comments

Comments
 (0)