-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathQRSMorphologyDetector.h
More file actions
41 lines (31 loc) · 968 Bytes
/
QRSMorphologyDetector.h
File metadata and controls
41 lines (31 loc) · 968 Bytes
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
#pragma once
#include "ModulesInterfaces.h"
#include "ModulesMethods.h"
#include <fstream>
#include <sstream>
#include <gsl/gsl_sort_vector.h>
/*
enum QRSType
{
VENTRICULUS,
SUPRACENTRICULAR
};
*/
using namespace std;
class QRSMorphologyDetector : public QRSClassModule
{
public:
QRSMorphologyDetector(void);
~QRSMorphologyDetector(void);
void setParams(ParametersTypes ¶meterTypes);
void runModule (const ECGWaves &, const ECGSignalChannel &, const ECGInfo &, QRSClass &);
private:
ECGSignalChannel filteredSignal;
ECGWaves qrsPosition;
QRSClass * qrsMorphology;
bool detectQRSMorphology();
friend double pole(ECGSignalChannel * signal, int forBegin, int forEnd);
friend double dlugosc(ECGSignalChannel * signal, int forBegin, int forEnd);
friend double stosunek(ECGSignalChannel * signal, int forBegin, int forEnd);
friend double szybkosc(ECGSignalChannel * signal, int forBegin, int forEnd);
};