raspearsy / bme590hrm

MIT License
2 stars 1 forks source link

List tests #4

Closed raspearsy closed 7 years ago

raspearsy commented 7 years ago

Input: test if input file is not empty test if extracted arrays in workable format (lists)

ECG reading:

  1. thresholdhr(hr_rawdata) --> return threshold_hr
    • runs within hrdetector (2)
  2. hrdetector(hr_rawdata) --> return hr
  3. bradydetector(hr, delta_t, hr_threshold_brady) --> return output
  4. tachydecector(hr, delta_t, hr_threshold_tachy, output) --> return new_output
  5. main:
    • hrdetector
    • bradydetector
    • tachydetector
    • returns x to output

Output: test if output file is not empty