The files in this directory illustrate `ECGSYN` output obtained using its default settings. The files `ecgsyn.dat` and `rr.dat` are created by `ECGSYN` itself.

`ecgsyn.dat` is a text file, which contains three columns:

- the time in seconds
- the ECG amplitude in millivolts
- markers to indicate the locations of the waveform peaks:

  0 | (no peak)
  1 | Top of P-wave
  2 | Q-point
  3 | Peak of R-wave
  4 | S-point
  5 | Peak of T-wave

`rr.dat` is also a text file, containing (in one column) a series of inter-beat (RR) intervals in seconds.

The files `syn.hea` and `syn.dat` are PhysioBank (WFDB) format header and signal files created from the `ECGSYN` output by:

        wrsamp -F 256 -o syn -x 200 1 <ecgsyn.dat

These files can be read using any of the available WFDB applications.

The file `ecgsyn.png` (shown below) was created from the first 4.5 seconds of `ecgsyn.dat`, using plt:

         plt ecgsyn.dat 0 1 -xa 0 4.5 -t "ECGSYN output" \
           -x "Time (s)" -y "ECG Amplitude (mV)" -T lw | \
         lwcat -png >ecgsyn.png