Commit e3813f7
Benjamin Moody
plot_wfdb: handle differing frame/annotation frequencies.
An annotation file (represented by a wfdb.Annotation object) may have
a "sampling frequency" that differs from the sampling frequency or
frequencies of the signals themselves. This will be the case, for
example, for annotations generated by programs like sqrs that operate
on an upsampled or downsampled copy of the input signals.
To handle this case, since record.fs does not equal annotation.fs, we
must explicitly specify both sampling_freq and ann_freq when calling
plot_items.1 parent 0cd0486 commit e3813f7
1 file changed
+14
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
779 | 779 | | |
780 | 780 | | |
781 | 781 | | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
782 | 794 | | |
783 | 795 | | |
784 | 796 | | |
785 | 797 | | |
786 | 798 | | |
787 | | - | |
| 799 | + | |
| 800 | + | |
788 | 801 | | |
789 | 802 | | |
790 | 803 | | |
| |||
0 commit comments