-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathECGHRV2.cpp
139 lines (110 loc) · 1.89 KB
/
ECGHRV2.cpp
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
#include "ECGHRV2.h"
ECGHRV2::ECGHRV2 (void)
: SD1(0), SD2(0), TINN(0), M(0), N(0), HRVTriangularIndex(0), Y(0), X(0), HistogramBinLength(7.8125)
{}
ECGHRV2::~ECGHRV2 (void)
{}
IntSignal ECGHRV2::GetHistogram_x ()
{
return histogram_x;
}
IntSignal ECGHRV2::GetHistogram_y ()
{
return histogram_y;
}
IntSignal ECGHRV2::GetPoincare_x ()
{
return poincare_x;
}
IntSignal ECGHRV2::GetPoincare_y ()
{
return poincare_y;
}
double ECGHRV2::GetSD1()
{
return SD1;
}
double ECGHRV2::GetSD2()
{
return SD2;
}
double ECGHRV2::GetTINN()
{
return TINN;
}
double ECGHRV2::GetM()
{
return M;
}
double ECGHRV2::GetN()
{
return N;
}
double ECGHRV2::GetHRVTriangularIndex()
{
return HRVTriangularIndex;
}
double ECGHRV2::GetY()
{
return Y;
}
double ECGHRV2::GetX()
{
return X;
}
double ECGHRV2::GetHistogramBinLength()
{
return HistogramBinLength;
}
void ECGHRV2::SetHistogram_x(IntSignal histogram_x)
{
this->histogram_x=histogram_x;
}
void ECGHRV2::SetHistogram_y(IntSignal histogram_y)
{
this->histogram_y=histogram_y;
}
void ECGHRV2::SetPoincare_x(IntSignal poincare_x)
{
this->poincare_x=poincare_x;
}
void ECGHRV2::SetPoincare_y(IntSignal poincare_y)
{
this->poincare_y=poincare_y;
}
void ECGHRV2::SetSD1(double SD1)
{
this->SD1=SD1;
}
void ECGHRV2::SetSD2(double SD2)
{
this->SD2=SD2;
}
void ECGHRV2::SetTINN(double TINN)
{
this->TINN=TINN;
}
void ECGHRV2::SetM(double M)
{
this->M=M;
}
void ECGHRV2::SetN(double N)
{
this->N=N;
}
void ECGHRV2::SetHRVTriangularIndex(double HRVTriangularIndex)
{
this->HRVTriangularIndex=HRVTriangularIndex;
}
void ECGHRV2::SetY(double Y)
{
this->Y=Y;
}
void ECGHRV2::SetX(double X)
{
this->X=X;
}
void ECGHRV2::SetHistogramBinLength(double HistogramBinLength)
{
this->HistogramBinLength=HistogramBinLength;
}