Skip to content
John Ramshur edited this page Sep 13, 2015 · 4 revisions

Inputs and Outputs

Input Data

As of version 1.1.13, ECG Viewer can read MATLAB binary files (.mat) and ASCII text files (.txt). If using MATLAB binary files (.mat), the software will load the data and then try to find a variable named “ecg” or “ECG”. If not found, the software will use the first variable loaded from the .mat file.

The ECG data files are expected to have one or two columns. If one column is used, this column must represent ECG amplitude in arbitrary units. If two columns are used, the first column represents time in units of seconds. The second column represents ECG amplitude in arbitrary units.

Exporting Results

Two types of data can be exported using the export button located on the GUI within the export module.

  1. Export ECG – this button exports the currently loaded ECG file. File formats available for ECG exporting include MATLAB binary (.mat), 16-bit binary (.dat), text/ASCII (.txt), and Excel (.xls).
  2. Export IBI – this button exports the IBI of the currently loaded ECG file. File formats available for IBI exporting include MATLAB binary (.mat), text/ASCII (.txt), and Excel (.xls). The option labeled “Export current window only” tells ECG Viewer to only export the ECG or IBI currently displayed in the plots. In other words whatever you see on the screen is what gets exported.


Page Todo

  • add an image of what the expected input data looks like in notepad
  • add link to annotation details?
Clone this wiki locally