Long Term ST Database 1.0.0

File: <base>/legendre/doc/ltstdb_legendre_coefficients_files.txt (10,183 bytes)
The sXYYYZ.loc.Z files, where X is the number of ECG leads,
YYY is the patient number, and Z is the record number of this
patient, are compressed ASCII files and contain:

 - Time series of ST segment Legendre orthonormal transform
   coefficients.

The Legendre orthonormal basis functions were applied to each
normal and non-noisy heart beat (in each ECG lead) of the records
of the LTST DB which passed the database's preprocessing phase
during its development.

The Legendre orthonormal basis functions are of length of 32
samples (128 ms) and were applied to ST segment in each ECG
lead from the point FP + 40ms to the point FP + 168 ms where
FP is the Aristotle's fiducial point.

To decompress each sXYYYZ.loc.Z file type:

uncompress sXYYYZ.loc.Z

Columns in the sXYYYZ.loc file (for two channel records, X = 2,
RECORDS FROM s20011 TO s20651, represent:

Column  1:  Time index in [ms], Aristotle's fiducial point of the heart beat

Column  2:  ST segment Legendre coeff. 1 for the lead 0 (multiplied by 100)
Column  3:  ST segment Legendre coeff. 2 for the lead 0 (multiplied by 100)
Column  4:  ST segment Legendre coeff. 3 for the lead 0 (multiplied by 100)
Column  5:  ST segment Legendre coeff. 4 for the lead 0 (multiplied by 100)
Column  6:  ST segment Legendre coeff. 5 for the lead 0 (multiplied by 100)
Column  7:  ST segment Legendre coeff. 6 for the lead 0 (multiplied by 100)
Column  8:  ST segment Legendre coeff. 7 for the lead 0 (multiplied by 100)
Column  9:  ST segment Legendre coeff. 8 for the lead 0 (multiplied by 100)
Column 10:  ST segment Legendre coeff. 9 for the lead 0 (multiplied by 100)

Column 11:  Residual error when using first 1 Legendre coeff. for
            reconstruction of the ST segment in the lead 0
Column 12:  Residual error when using first 2 Legendre coeff. for
            reconstruction of the ST segment in the lead 0
Column 13:  Residual error when using first 3 Legendre coeff. for
            reconstruction of the ST segment in the lead 0
Column 14:  Residual error when using first 4 Legendre coeff. for
            reconstruction of the ST segment in the lead 0
Column 15:  Residual error when using first 5 Legendre coeff. for
            reconstruction of the ST segment in the lead 0
Column 16:  Residual error when using first 6 Legendre coeff. for
            reconstruction of the ST segment in the lead 0
Column 17:  Residual error when using first 7 Legendre coeff. for
            reconstruction of the ST segment in the lead 0
Column 18:  Residual error when using first 8 Legendre coeff. for
            reconstruction of the ST segment in the lead 0
Column 19:  Residual error when using first 9 Legendre coeff. for
            reconstruction of the ST segment in the lead 0

Column 20:  ST segment Legendre coeff. 1 for the lead 1 (multiplied by 100)
Column 21:  ST segment Legendre coeff. 2 for the lead 1 (multiplied by 100)
Column 22:  ST segment Legendre coeff. 3 for the lead 1 (multiplied by 100)
Column 23   ST segment Legendre coeff. 4 for the lead 1 (multiplied by 100)
Column 24:  ST segment Legendre coeff. 5 for the lead 1 (multiplied by 100)
Column 25:  ST segment Legendre coeff. 6 for the lead 1 (multiplied by 100)
Column 26:  ST segment Legendre coeff. 7 for the lead 1 (multiplied by 100)
Column 27:  ST segment Legendre coeff. 8 for the lead 1 (multiplied by 100)
Column 28:  ST segment Legendre coeff. 9 for the lead 1 (multiplied by 100)

Column 29:  Residual error when using first 1 Legendre coeff. for
            reconstruction of the ST segment in the lead 1
Column 30:  Residual error when using first 2 Legendre coeff. for
            reconstruction of the ST segment in the lead 1
Column 31:  Residual error when using first 3 Legendre coeff. for
            reconstruction of the ST segment in the lead 1
Column 32:  Residual error when using first 4 Legendre coeff. for
            reconstruction of the ST segment in the lead 1
Column 33:  Residual error when using first 5 Legendre coeff. for
            reconstruction of the ST segment in the lead 1
Column 34:  Residual error when using first 6 Legendre coeff. for
            reconstruction of the ST segment in the lead 1
Column 35:  Residual error when using first 7 Legendre coeff. for
            reconstruction of the ST segment in the lead 1
Column 36:  Residual error when using first 8 Legendre coeff. for
            reconstruction of the ST segment in the lead 1
Column 37:  Residual error when using first 9 Legendre coeff. for
            reconstruction of the ST segment in the lead 1


Columns in the sXYYYZ.loc file (for three channel records, X = 3,
RECORDS FROM s30661 TO s30801, represent:

Column  1:  Time index in [ms], Aristotle's fiducial point of the heart beat

Column  2:  ST segment Legendre coeff. 1 for the lead 0 (multiplied by 100)
Column  3:  ST segment Legendre coeff. 2 for the lead 0 (multiplied by 100)
Column  4:  ST segment Legendre coeff. 3 for the lead 0 (multiplied by 100)
Column  5:  ST segment Legendre coeff. 4 for the lead 0 (multiplied by 100)
Column  6:  ST segment Legendre coeff. 5 for the lead 0 (multiplied by 100)
Column  7:  ST segment Legendre coeff. 6 for the lead 0 (multiplied by 100)
Column  8:  ST segment Legendre coeff. 7 for the lead 0 (multiplied by 100)
Column  9:  ST segment Legendre coeff. 8 for the lead 0 (multiplied by 100)
Column 10:  ST segment Legendre coeff. 9 for the lead 0 (multiplied by 100)

Column 11:  Residual error when using first 1 Legendre coeff. for
            reconstruction of the ST segment in the lead 0
Column 12:  Residual error when using first 2 Legendre coeff. for
            reconstruction of the ST segment in the lead 0
Column 13:  Residual error when using first 3 Legendre coeff. for
            reconstruction of the ST segment in the lead 0
Column 14:  Residual error when using first 4 Legendre coeff. for
            reconstruction of the ST segment in the lead 0
Column 15:  Residual error when using first 5 Legendre coeff. for
            reconstruction of the ST segment in the lead 0
Column 16:  Residual error when using first 6 Legendre coeff. for
            reconstruction of the ST segment in the lead 0
Column 17:  Residual error when using first 7 Legendre coeff. for
            reconstruction of the ST segment in the lead 0
Column 18:  Residual error when using first 8 Legendre coeff. for
            reconstruction of the ST segment in the lead 0
Column 19:  Residual error when using first 9 Legendre coeff. for
            reconstruction of the ST segment in the lead 0

Column 20:  ST segment Legendre coeff. 1 for the lead 1 (multiplied by 100)
Column 21:  ST segment Legendre coeff. 2 for the lead 1 (multiplied by 100)
Column 22:  ST segment Legendre coeff. 3 for the lead 1 (multiplied by 100)
Column 23   ST segment Legendre coeff. 4 for the lead 1 (multiplied by 100)
Column 24:  ST segment Legendre coeff. 5 for the lead 1 (multiplied by 100)
Column 25:  ST segment Legendre coeff. 6 for the lead 1 (multiplied by 100)
Column 26:  ST segment Legendre coeff. 7 for the lead 1 (multiplied by 100)
Column 27:  ST segment Legendre coeff. 8 for the lead 1 (multiplied by 100)
Column 28:  ST segment Legendre coeff. 9 for the lead 1 (multiplied by 100)

Column 29:  Residual error when using first 1 Legendre coeff. for
            reconstruction of the ST segment in the lead 1
Column 30:  Residual error when using first 2 Legendre coeff. for
            reconstruction of the ST segment in the lead 1
Column 31:  Residual error when using first 3 Legendre coeff. for
            reconstruction of the ST segment in the lead 1
Column 32:  Residual error when using first 4 Legendre coeff. for
            reconstruction of the ST segment in the lead 1
Column 33:  Residual error when using first 5 Legendre coeff. for
            reconstruction of the ST segment in the lead 1
Column 34:  Residual error when using first 6 Legendre coeff. for
            reconstruction of the ST segment in the lead 1
Column 35:  Residual error when using first 7 Legendre coeff. for
            reconstruction of the ST segment in the lead 1
Column 36:  Residual error when using first 8 Legendre coeff. for
            reconstruction of the ST segment in the lead 1
Column 37:  Residual error when using first 9 Legendre coeff. for
            reconstruction of the ST segment in the lead 1

Column 38:  ST segment Legendre coeff. 1 for the lead 2 (multiplied by 100)
Column 39:  ST segment Legendre coeff. 2 for the lead 2 (multiplied by 100)
Column 40:  ST segment Legendre coeff. 3 for the lead 2 (multiplied by 100)
Column 41   ST segment Legendre coeff. 4 for the lead 2 (multiplied by 100)
Column 42:  ST segment Legendre coeff. 5 for the lead 2 (multiplied by 100)
Column 43:  ST segment Legendre coeff. 6 for the lead 2 (multiplied by 100)
Column 44:  ST segment Legendre coeff. 7 for the lead 2 (multiplied by 100)
Column 45:  ST segment Legendre coeff. 8 for the lead 2 (multiplied by 100)
Column 46:  ST segment Legendre coeff. 9 for the lead 2 (multiplied by 100)

Column 47:  Residual error when using first 1 Legendre coeff. for
            reconstruction of the ST segment in the lead 2
Column 48:  Residual error when using first 2 Legendre coeff. for
            reconstruction of the ST segment in the lead 2
Column 49:  Residual error when using first 3 Legendre coeff. for
            reconstruction of the ST segment in the lead 2
Column 50:  Residual error when using first 4 Legendre coeff. for
            reconstruction of the ST segment in the lead 2
Column 51:  Residual error when using first 5 Legendre coeff. for
            reconstruction of the ST segment in the lead 2
Column 52:  Residual error when using first 6 Legendre coeff. for
            reconstruction of the ST segment in the lead 2
Column 53:  Residual error when using first 7 Legendre coeff. for
            reconstruction of the ST segment in the lead 2
Column 54:  Residual error when using first 8 Legendre coeff. for
            reconstruction of the ST segment in the lead 2
Column 55:  Residual error when using first 9 Legendre coeff. for
            reconstruction of the ST segment in the lead 2