forked from mateuszbaran/ECG-analyzer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ECGHRVDFA.h
57 lines (44 loc) · 957 Bytes
/
ECGHRVDFA.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#pragma once
#include "ECGSignal.h"
#include <vector>
/**
* @class Class for storing DFA results.
*/
class ECGHRVDFA
{
public:
ECGHRVDFA (void);
~ECGHRVDFA (void);
OtherSignal GetDfa_x () const
{
return dfa_x;
}
OtherSignal GetDfa_y () const
{
return dfa_y;
}
OtherSignal GetRR_integrated () const
{
return rr_integrated;
}
double getDFA_scaling_factor() const
{
return DFA_scaling_factor;
}
std::vector<std::vector<std::string >> &getTable ()
{
return table;
}
void setDFA_scaling_factor(double DFA_scaling_factor);
void setDFA_x(OtherSignal dfa_x);
void setDFA_y(OtherSignal dfa_y);
void setRR_integrated(OtherSignal rr_integrated);
private:
//for plotting
OtherSignal dfa_x;
OtherSignal dfa_y;
OtherSignal rr_integrated;
//table
double DFA_scaling_factor;
std::vector<std::vector<std::string >> table;
};