timhoer / cloud_ecg

Cloud Based ECG Analysis Tool
0 stars 0 forks source link

bme590hrm

Calculates the instantaneous heart rate, average heart rate, input time interval, and also indicates conditions like Bradycardia and Tachycardia for the window size selected.
The output also includes the total number of requests made to the service.

The Software License for the file is:

LICENSE.md ( MIT License)

The Travis Badge is:

Build Status

Read the Docs Badge:

Documentation Status

Starting the Program

The program may be started by posting the following inputs for Average Heart Rate and Instantaneous heart rate respectively on the web server:

  1. POST/api/heart_rate/summary
    http://vcm-1612.vm.duke.edu:5000/heart_rate/summary
  2. POST/api/heart_rate/average
    http://vcm-1612.vm.duke.edu:5000/heart_rate/average
  3. GET/api/requests
    The address to the Virtual Machine requests is: http://vcm-1612.vm.duke.edu:5000/requests

Requirements:

Python 3.6

Input parameters:

FOR INSTANTANEOUS HEART RATE:

{
"time": [1, 2, 3, ...],
"voltage": [20, 1, 20, 14, ...]
}

FOR AVERAGE HEART RATE:

{
"averaging_period": 20,
"time": [1, 2, 3, ...],
"voltage": [100, 60, 62, ...]
}

Output

The output for the Instantaneous Heart Rate with the HR and Tachy and Brady cardia vectors is in the following form:

{
"time": [1, 2, 3, ...],
"instantaneous_heart_rate": [100, 60, 62, ...],
"tachycardia_annotations": [true, false, true, ...],
"bradycardia_annotations": [true, false, true, ...]
}

The output for the Average Heart Rate with the Avg HR, Brady and Tachcardia vectors is in the following form:

{
"time": [1, 2, 3, ...],
"averaging_period": 20,
"instantaneous_heart_rate": [100, 60, 62, ...],
"tachycardia_annotations": [true, false, true, ...],
"bradycardia_annotations": [true, false, true, ...]
}

Team Members:

Credits