Develop a Matlab and Python program that will make automated ECG analysis from Lead I based on standard criteria.

computer science

Description

Project 1: Create an ECG diagnostic program (Matlab and Python)

 

Task: Develop a Matlab and Python program that will make automated ECG analysis from Lead I based on standard criteria.

Input: The program will prompt the user for a filename and will read a single column file with a header line that will include the Patient Number, the Time Step (in seconds) and the # of Data points in the form:

Patient Number xx Time Step xx Data Points xx

Xx

Etc.    

The only input the user will provide is a file name by typing the name of the file in the command window, i.e. Matlab, or console window, i.e. Python. However, you can enhance the code to open the folder to select the file to run.

Output: The program will output the patient number, heart rate, and positive diagnostics on the following conditions:

• Sinus bradycardia

• Sinus tachycardia

• Sinus arrhythmia

• Atrial fibrillation

• A-V block, first degree

• A-V block, second degree

• Right / Left bundle-branch block

In other words, the outputs are the patient number, heart rate w/units, and diagnosis w/plot. These have to either be printed to the command/console window. Plot should include diagnosis in title and correct axis scale.

Helpful Tips for heart diagnostics: http://www.bem.fi/book/19/19.htm

·         The Basis of ECG Diagnosis.pdf

·         To calculate heart rate: ECG primer.pdf


Related Questions in computer science category