THEW File FORMAT and reading procedures |
|---|
ECG File Format:
The ECG signals can be downloaded from the THEW SFTP server in ISHNE format. To read the Holter ECG ISHNE format please refer to the description provided here. Example of ISHNE files (ECG and annotation) and reading procedure are provided below for C++ and Matlab environments.
MATLAB and C++ reading functions (to download):
To read the files from the THEW, we provide MATLAB and C++ procedures to be downloaded from the links below.
To read ECG and annotation files in c++:
ReadIshne.cpp
To read the ECG and annotation files in MATLAB:
read_ishne.m and read_binAnn.m
To read the ECG and annotation files in MATLAB directly from the THEW SFTP server
(by Daniel Guldenring, Ulster Unversity , UK):
License terms for JAVA SFTP Library
License terms for LicenseMatlabSources
THEW SFTP access M file code example
THEW SFTP dynamic Java class sFtpThew.jar
Function to add a *.jar file to the dynamic Java class path sFtpAddDynPath
Function to connect to the THEW SFTP server: sFtpConnect.m
Function to disconnect to the THEW SFTP server: sFtpDisconnect.m
Function to open file on the THEW SFTP server: sFtpFopen.m
Function to close file on the THEW SFTP server: sFtpFclose.m
Function to seek file on the THEW SFTP server: sFtpFseek.m
Function to return current location in the file on the THEW SFTP server: sFtpFtell.m
Function to return contents of a directory from the remote THEW SFTP server: sFtpLs.m
Function to read the annotation files from THEW SFTP server:sFtpRead_binAnn.m
Function to read the waveform files from THEW SFTP server:sFtpRead_ishne.m
Function to set the type of the data read form the THEW SFTP server:sFtpTypeCast.m
Examples of ECG and annotation files (to download):
| ECG files (click to download) | |
ASCII (5 min duration, 3 leads, 200 HZ) |
|
ISHNE (25 min duration, 3 leads, 200HZ) |
|
| Annotation files (click to download) | |
ASCII (25 minutes) |
|
THEW Binary Annotation File (25 minutes) |
|
| High-resolution 12-lead Holter (click to download) | |
ISHNE recording+ annotation file (10 minutes) |
S1123.zip (zipped) |
ECG ANNOTATION Format:
The annotation information from the Holter ECG signals can be extracted from the THEW Client application in binary format following the annotation format described here or in ASCII format. The available cardiac beast anoation are defined as follow:
