Skip to content

Commit cc50262

Browse files
committed
rename
1 parent 36131c5 commit cc50262

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wfdb/_rdann.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import os
77
import math
88

9-
def check_time_resolution(filebytes):
9+
def get_sample_freq(filebytes):
1010
"""Check the beginning of the annotation file to see if it is storing the
1111
'time resolution' field.
1212
"""
@@ -83,7 +83,7 @@ def rdann(recordname, annot, sampfrom=0, sampto=[], anndisp=1):
8383

8484
# Check the beginning of the annotation file to see if it is storing the
8585
# 'time resolution' field.
86-
annfs,bpi = check_time_resolution(filebytes)
86+
annfs,bpi = get_sample_freq(filebytes)
8787

8888
# Total number of samples of current annotation from beginning of record.
8989
# Annotation bytes only store dt.

0 commit comments

Comments
 (0)