Commit 2dd4845
Benjamin Moody
rdann: handle multiple consecutive SKIPs.
In WFDB-format annotation files, annotation timestamps are represented
as an offset from the previous annotation. When this offset is less
than 0 or greater than 1023, a SKIP pseudo-annotation is used; when
the offset is greater than 2**31 - 1 or less than -2**31, multiple
SKIPs must be used. Thus, proc_core_fields must be able to handle an
arbitrary number of SKIPs in a row, preceding the actual annotation,
and add all of the offsets together to obtain the final timestamp.1 parent 04ae55f commit 2dd4845
1 file changed
Lines changed: 11 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1869 | 1869 | | |
1870 | 1870 | | |
1871 | 1871 | | |
1872 | | - | |
| 1872 | + | |
1873 | 1873 | | |
1874 | 1874 | | |
1875 | 1875 | | |
1876 | | - | |
1877 | | - | |
1878 | | - | |
1879 | | - | |
1880 | | - | |
1881 | | - | |
1882 | | - | |
| 1876 | + | |
1883 | 1877 | | |
1884 | | - | |
| 1878 | + | |
1885 | 1879 | | |
1886 | 1880 | | |
1887 | 1881 | | |
1888 | | - | |
1889 | | - | |
| 1882 | + | |
| 1883 | + | |
1890 | 1884 | | |
1891 | | - | |
1892 | | - | |
| 1885 | + | |
| 1886 | + | |
1893 | 1887 | | |
1894 | | - | |
1895 | | - | |
1896 | | - | |
| 1888 | + | |
| 1889 | + | |
| 1890 | + | |
| 1891 | + | |
1897 | 1892 | | |
1898 | 1893 | | |
1899 | 1894 | | |
| |||
0 commit comments