WFDB ECG Record Viewer
Select a record's .hea header with its .dat signal file and, if you have it, the .atr annotation file, then step through the leads on ECG paper at 25 or 50 mm/s, see beat labels and heart rate, and save CSV, PNG or a printout.
Berjalan dalam pelayar anda. Fail anda tidak pernah meninggalkan peranti. Lihat cara menyemaknya
…
Cara melakukannya
- 1Select
Pick the .hea, .dat and .atr files together.
- 2Settings
Choose paper speed, gain and window length.
- 3Browse
Step through the record and hide leads.
- 4Labels
Read annotations and the heart rate card.
- 5Export
Save CSV, PNG or a printout.
Tentang alat ini
The WFDB ECG Record Viewer opens recordings in the WFDB format used by PhysioNet databases such as the MIT-BIH Arrhythmia Database, so students and researchers can look at the waveforms without installing the WFDB software. A record is several files sharing one name: a .hea header, one or more signal files, usually .dat, and optional annotation files such as .atr. You select them together and the viewer matches the signal files named in the header. The header gives the record name, the number of signals, the sampling frequency, the number of samples and the start time and date. Each signal line gives the file name, the storage format with any samples-per-frame, skew and byte offset, the gain in ADC units per physical unit (200 if none is given), the baseline, the units, the ADC resolution and zero, and a description such as II or V1. Comment lines are shown under the record details. Multi-segment records are refused with a message asking for one segment's header. Signal files in formats 212, 16, 61, 80, 310 and 311 are decoded. Format 212 packs two 12-bit samples into three bytes and is the most common in older PhysioNet records; 16 and 61 are 16-bit little- and big-endian; 80 is 8-bit offset binary; 310 and 311 pack three 10-bit samples into four bytes. Other formats are refused with a list of the supported ones. Physical values are worked out as (raw − baseline) ÷ gain. If a signal has more than one sample per frame, a warning says it is read at the frame rate. Annotation files in MIT format are read with their skip, number, subtype, channel and auxiliary text fields, and each code is matched to its symbol and meaning from the list of 39 standard codes known to the viewer, such as N for a normal beat and V for a premature ventricular contraction.
The ECG paper view
The leads are drawn on a pink grid with fine lines every millimetre and heavier lines every 5 mm. Paper speed can be 25 or 50 mm/s, gain 5, 10 or 20 mm/mV, and the window 5, 10, 20 or 30 seconds. Back and Forward buttons move one window at a time and a slider moves in half-second steps. Tick boxes hide or show each lead, and each lane is three times the gain tall, so ±1.5 mV fits at 10 mm/mV. Annotation symbols sit along the bottom with a faint line at each, green for N and red for everything else. The trace is scaled to fit the screen width, so the grid keeps its proportions to the signal but the squares are not true millimetres on screen.
Heart rate and counts
With an annotation file loaded, the Annotations card counts beats, using the beat codes only, and works out RR intervals between consecutive beats. Intervals between 0.2 and 3 seconds are kept, and the mean, lowest and highest rate in beats per minute are shown with a table of how often each symbol appears.
The sample results
A test record written by the tool's own format-16 writer has two leads, II and V1, at 250 Hz with gain 200 per mV, 1,000 samples or 4 seconds, and a 4,000-byte .dat file. It reads back with the sine wave peak of lead II at 1.000 mV, stored as 200 ADC units. A test annotation file with N at sample 100, V at 2000 with the aux text (B, and N at 2250 gives 3 beats; the only interval kept is 250 samples, 1.0 s, so the mean rate is 60 bpm. The 7.6 s gap is left out as too long. In format 212 the bytes 100, 0xF0 and 0x38 decode to the two samples 100 and −200.
Exports
CSV of this window or the whole record gives time in seconds and each lead in its units. PNG saves the current view, Annotations CSV lists sample, time, symbol, meaning and aux text, and Print / PDF adds the sampling rate, duration, leads and heart rate range. View settings can be saved as a project.
Limits
This viewer is for education and research only. It is not a medical device, it does not interpret rhythms, and it must not be used to diagnose or treat anyone. What it shows is not medical advice; any question about a real patient's ECG belongs with a qualified clinician. Records with formats other than the six listed, multi-segment records and signals with several samples per frame are not fully supported. Only the first annotation file selected is read.
Contoh berselesaian
Two-lead test record at 250 Hz (II and V1, gain 200/mV, 1,000 samples): lead II peak 1.000 mV; annotations N at 100, V at 2000, N at 2250 give 3 beats and a mean of 60 bpm.
Ringkasnya
- Kategori: Matematik & sains
- Berjalan dalam pelayar, tanpa pendaftaran, tanpa muat naik.
- Maklumat yang anda masukkan kekal pada peranti anda.
- Tersedia dalam bahasa Inggeris.
- Kandungan disemak kali terakhir:
- Sumber rasmi: PhysioNet WFDB header(5), signal(5) and annotation(5) file formats; MIT-BIH annotation codes
Soalan lazim
Which files do I need to select?
The .hea header and the signal file it names, usually a .dat, selected together. Add the .atr or another annotation file to see beat labels and heart rate.
Which signal formats are supported?
Formats 212, 16, 61, 80, 310 and 311. Most MIT-BIH records use 212. A header naming another format gives a message listing these six.
Can it diagnose arrhythmias?
No. It shows the waveforms and the labels already stored in the annotation file. It does not detect or interpret anything, and it is not for diagnosis.
How is the heart rate worked out?
From the intervals between beat annotations. Intervals from 0.2 to 3 seconds are kept and converted to beats per minute; the card shows the mean, lowest and highest.
What do 25 mm/s and 10 mm/mV mean?
They are the standard ECG paper settings: 25 mm of paper per second and 10 mm of height per millivolt. At those settings a small square is 0.04 s by 0.1 mV.
Can I open the samples in Excel or another spreadsheet?
Yes. CSV saves time and every lead in physical units for the window on screen or the whole record, and Annotations CSV lists every label with its time.
