|
a/README.md |
|
b/README.md |
|
... |
|
... |
5 |
<li>MIT-BIH Arrhythmia Database [<strong>mitdb</strong>]</li> |
5 |
<li>MIT-BIH Arrhythmia Database [<strong>mitdb</strong>]</li> |
6 |
<li>MIT-BIH Supraventricular Arrhythmia Database [<strong>svdb</strong>]</li> |
6 |
<li>MIT-BIH Supraventricular Arrhythmia Database [<strong>svdb</strong>]</li> |
7 |
<li>St Petersburg INCART 12-lead Arrhythmia Database [<strong>incartdb</strong>]</li> |
7 |
<li>St Petersburg INCART 12-lead Arrhythmia Database [<strong>incartdb</strong>]</li> |
8 |
</ol> |
8 |
</ol> |
9 |
<h3>NOTE</h3> |
9 |
<h3>NOTE</h3> |
10 |
<blockquote> |
10 |
|
11 |
<ol> |
11 |
<ol> |
12 |
<li>All signals have been resampled to 128Hz and gain has been removed.</li> |
12 |
<li>All signals have been resampled to 128Hz and gain has been removed.</li> |
13 |
<li>Baseline wander has been removed using Median Filtering.</li> |
13 |
<li>Baseline wander has been removed using Median Filtering.</li> |
14 |
<li>Denoising was NOT used.</li> |
14 |
<li>Denoising was NOT used.</li> |
15 |
<li>Signal data and annotation labels have been saved in numpy (.npy) format.</li> |
15 |
<li>Signal data and annotation labels have been saved in numpy (.npy) format.</li> |
16 |
<li>All Signals are nearly 30 mins long.</li> |
16 |
<li>All Signals are nearly 30 mins long.</li> |
17 |
</ol> |
17 |
</ol> |
18 |
</blockquote> |
18 |
|
19 |
<h3>CONTENT</h3> |
19 |
<h3>CONTENT</h3> |
20 |
<p>Data has been organised as follows:</p> |
20 |
<p>Data has been organised as follows:</p> |
21 |
<p>parent directory <em>db_npy</em> contains 3 sub-directories each of which represent one database</p> |
21 |
<p>parent directory <em>db_npy</em> contains 3 sub-directories each of which represent one database</p> |
22 |
<blockquote> |
22 |
|
23 |
<p>mitdb_npy has 48 records</p> |
23 |
<p>mitdb_npy has 48 records</p> |
24 |
<p>svdb_npy has 78 records</p> |
24 |
<p>svdb_npy has 78 records</p> |
25 |
<p>incartdb_npy has 75 records</p> |
25 |
<p>incartdb_npy has 75 records</p> |
26 |
</blockquote> |
26 |
|
27 |
<p>Each of these database directory contains a '<strong><em>RECORDS</em></strong>' file that lists the ecg records available in that database.</p> |
27 |
<p>Each of these database directory contains a '<strong><em>RECORDS</em></strong>' file that lists the ecg records available in that database.</p> |
28 |
<p>Each record has 3 files associated with it:</p> |
28 |
<p>Each record has 3 files associated with it:</p> |
29 |
<blockquote> |
29 |
|
30 |
<ol> |
30 |
<ol> |
31 |
<li><p><em>rec</em>_BEAT.npy: contains 'beat' annotations (R-peaks and its label) for the record.<br> |
31 |
<li><p><em>rec</em>_BEAT.npy: contains 'beat' annotations (R-peaks and its label) for the record.<br> |
32 |
<em>each record may have variable number of beats based on heart rate</em><br> |
32 |
<em>each record may have variable number of beats based on heart rate</em><br> |
33 |
<em>usually we shall be interested in beat annotation labels only. Each beat label represents one R-peak and hence one beat</em></p></li> |
33 |
<em>usually we shall be interested in beat annotation labels only. Each beat label represents one R-peak and hence one beat</em></p></li> |
34 |
<li><p><em>rec</em>_NBEAT.npy: contains 'non-beat' annotations (Other than R-peaks) for the record</p></li> |
34 |
<li><p><em>rec</em>_NBEAT.npy: contains 'non-beat' annotations (Other than R-peaks) for the record</p></li> |
35 |
<li><p><em>rec</em>_SIG_II.npy: contains the Lead 2 signal data of the record as a single numpy array</p></li> |
35 |
<li><p><em>rec</em>_SIG_II.npy: contains the Lead 2 signal data of the record as a single numpy array</p></li> |
36 |
</ol> |
36 |
</ol> |
37 |
</blockquote> |
37 |
|
38 |
<p>(* see the introduction kernel on how to access data and use annotation labels *)</p> |
38 |
<p>(* see the introduction kernel on how to access data and use annotation labels *)</p> |
39 |
<h3>Understanding Annotations:</h3> |
39 |
<h3>Understanding Annotations:</h3> |
40 |
<p>There are two types of annotations: Beat and Non-Beat annotations.<br> |
40 |
<p>There are two types of annotations: Beat and Non-Beat annotations.<br> |
41 |
Beat annotations are associated with each heart-beat. If you are working with heart-beat classifications then only Beat annotations shall be useful and Non-Beat annotations can be ignored.</p> |
41 |
Beat annotations are associated with each heart-beat. If you are working with heart-beat classifications then only Beat annotations shall be useful and Non-Beat annotations can be ignored.</p> |
42 |
<p>Standard PhysioNet Annotations are described in <strong><em>db_npy/annotations.txt</em></strong> file. These are common across all databases.<br> |
42 |
<p>Standard PhysioNet Annotations are described in <strong><em>db_npy/annotations.txt</em></strong> file. These are common across all databases.<br> |
|
... |
|
... |
47 |
<p><img alt="" src="https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F5417013%2F43781477b37cdca4adb187e4b39c3648%2Fstdlab.png?generation=1593929940178708&alt=media"></p> |
47 |
<p><img alt="" src="https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F5417013%2F43781477b37cdca4adb187e4b39c3648%2Fstdlab.png?generation=1593929940178708&alt=media"></p> |
48 |
<p>There are 19 Beat annotations and 22 Non-Beat annotations. However, not all annotations may occur in data files. For example, the Label 'r' does not occur even once in any three of the database but yet its the part of standard PhysioNet labels. (might be in use in some other database). It's advised to do a full annotation count before working with data.</p> |
48 |
<p>There are 19 Beat annotations and 22 Non-Beat annotations. However, not all annotations may occur in data files. For example, the Label 'r' does not occur even once in any three of the database but yet its the part of standard PhysioNet labels. (might be in use in some other database). It's advised to do a full annotation count before working with data.</p> |
49 |
<p>According to AAMI recommendation, each beat is classified into one of the 5 types [ N, V, S, F, Q ]. However, you are free to choose any classification strategy.</p> |
49 |
<p>According to AAMI recommendation, each beat is classified into one of the 5 types [ N, V, S, F, Q ]. However, you are free to choose any classification strategy.</p> |
50 |
<p><img alt="" src="https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F5417013%2F58397c44c2e877ddb61418270eb2f3fd%2FRelation-between-MIT-BIH-heartbeats-and-AAMI-standards.png?generation=1593940064290748&alt=media"></p> |
50 |
<p><img alt="" src="https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F5417013%2F58397c44c2e877ddb61418270eb2f3fd%2FRelation-between-MIT-BIH-heartbeats-and-AAMI-standards.png?generation=1593940064290748&alt=media"></p> |
51 |
<h3>IMPORTANT</h3> |
51 |
<h3>IMPORTANT</h3> |
52 |
<blockquote> |
52 |
|
53 |
<ol> |
53 |
<ol> |
54 |
<li><p>mitdb's record '102' and '104' DO NOT have lead 2 signal available hence files '102_SIG_II.npy' and '104_SIG_II.npy' are not present. However, they have BEAT and NBEAT files present. Its advised not to use those two records</p></li> |
54 |
<li><p>mitdb's record '102' and '104' DO NOT have lead 2 signal available hence files '102_SIG_II.npy' and '104_SIG_II.npy' are not present. However, they have BEAT and NBEAT files present. Its advised not to use those two records</p></li> |
55 |
<li><p>mitdb's record '102', '104', '107' and '217' are paced records</p></li> |
55 |
<li><p>mitdb's record '102', '104', '107' and '217' are paced records</p></li> |
56 |
<li><p>mitdb's record '207' is the only record with 'Flutter' waves that are not marked by beat-annotations (no R-peaks marked). However, they are marked by non-beat annotations.</p></li> |
56 |
<li><p>mitdb's record '207' is the only record with 'Flutter' waves that are not marked by beat-annotations (no R-peaks marked). However, they are marked by non-beat annotations.</p></li> |
57 |
</ol> |
57 |
</ol> |
58 |
</blockquote> |
58 |
|
59 |
<h3>Acknowledgements</h3> |
59 |
<h3>Acknowledgements</h3> |
60 |
<p>**PhysioNet **[<a rel="noreferrer nofollow" aria-label="https://physionet.org/ (opens in a new tab)" target="_blank" href="https://physionet.org/">https://physionet.org/</a>]<br> |
60 |
<p>**PhysioNet **[<a rel="noreferrer nofollow" aria-label="https://physionet.org/ (opens in a new tab)" target="_blank" href="https://physionet.org/">https://physionet.org/</a>]<br> |
61 |
MLA Goldberger, A., et al. "PhysioBank, PhysioToolkit, and PhysioNet: Components of a new research resource for complex physiologic signals. Circulation [Online]. 101 (23), pp. e215–e220." (2000).<br> |
61 |
MLA Goldberger, A., et al. "PhysioBank, PhysioToolkit, and PhysioNet: Components of a new research resource for complex physiologic signals. Circulation [Online]. 101 (23), pp. e215–e220." (2000).<br> |
62 |
APA Goldberger, A., Amaral, L., Glass, L., Hausdorff, J., Ivanov, P. C., Mark, R., … & Stanley, H. E. (2000). PhysioBank, PhysioToolkit, and PhysioNet: Components of a new research resource for complex physiologic signals. Circulation [Online]. 101 (23), pp. e215–e220.<br> |
62 |
APA Goldberger, A., Amaral, L., Glass, L., Hausdorff, J., Ivanov, P. C., Mark, R., … & Stanley, H. E. (2000). PhysioBank, PhysioToolkit, and PhysioNet: Components of a new research resource for complex physiologic signals. Circulation [Online]. 101 (23), pp. e215–e220.<br> |
63 |
Chicago Goldberger, A., L. Amaral, L. Glass, J. Hausdorff, P. C. Ivanov, R. Mark, J. E. Mietus, G. B. Moody, C. K. Peng, and H. E. Stanley. "PhysioBank, PhysioToolkit, and PhysioNet: Components of a new research resource for complex physiologic signals. Circulation [Online]. 101 (23), pp. e215–e220." (2000).<br> |
63 |
Chicago Goldberger, A., L. Amaral, L. Glass, J. Hausdorff, P. C. Ivanov, R. Mark, J. E. Mietus, G. B. Moody, C. K. Peng, and H. E. Stanley. "PhysioBank, PhysioToolkit, and PhysioNet: Components of a new research resource for complex physiologic signals. Circulation [Online]. 101 (23), pp. e215–e220." (2000).<br> |