MNE-CPP 0.1.9
A Framework for Electrophysiology
Loading...
Searching...
No Matches
detecttrigger.h
Go to the documentation of this file.
1//=============================================================================================================
35#ifndef DETECTTRIGGER_RTPROCESSING_H
36#define DETECTTRIGGER_RTPROCESSING_H
37
38//=============================================================================================================
39// INCLUDES
40//=============================================================================================================
41
42#include "rtprocessing_global.h"
43
44//=============================================================================================================
45// QT INCLUDES
46//=============================================================================================================
47
48#include <QPair>
49
50//=============================================================================================================
51// EIGEN INCLUDES
52//=============================================================================================================
53
54#include <Eigen/Core>
55
56//=============================================================================================================
57// DEFINE NAMESPACE RTPROCESSINGLIB
58//=============================================================================================================
59
60namespace RTPROCESSINGLIB
61{
62
63//=============================================================================================================
64// RTPROCESSINGLIB FORWARD DECLARATIONS
65//=============================================================================================================
66
67//=========================================================================================================
75RTPROCESINGSHARED_EXPORT QList<Eigen::MatrixXi> toEventMatrix(QMap<int,QList<QPair<int,double> > > mapTriggers);
76
77//=========================================================================================================
92RTPROCESINGSHARED_EXPORT QMap<int, QList<QPair<int, double> > > detectTriggerFlanksMax(const Eigen::MatrixXd &data,
93 const QList<int>& lTriggerChannels,
94 int iOffsetIndex,
95 double dThreshold,
96 bool bRemoveOffset,
97 int iBurstLengthSamp = 100);
98
99//=========================================================================================================
112RTPROCESINGSHARED_EXPORT QList<QPair<int,double> > detectTriggerFlanksMax(const Eigen::MatrixXd &data,
113 int iTriggerChannelIdx,
114 int iOffsetIndex,
115 double dThreshold,
116 bool bRemoveOffset,
117 int iBurstLengthSamp = 100);
118
119//=========================================================================================================
133RTPROCESINGSHARED_EXPORT QMap<int,QList<QPair<int,double> > > detectTriggerFlanksGrad(const Eigen::MatrixXd &data,
134 const QList<int>& lTriggerChannels,
135 int iOffsetIndex,
136 double dThreshold,
137 bool bRemoveOffset,
138 const QString& type,
139 int iBurstLengthSamp = 100);
140
141//=========================================================================================================
155RTPROCESINGSHARED_EXPORT QList<QPair<int,double> > detectTriggerFlanksGrad(const Eigen::MatrixXd &data,
156 int iTriggerChannelIdx,
157 int iOffsetIndex,
158 double dThreshold,
159 bool bRemoveOffset,
160 const QString& type,
161 int iBurstLengthSamp = 100);
162
163//=============================================================================================================
164// INLINE DEFINITIONS
165//=============================================================================================================
166
167} // NAMESPACE
168
169#endif // DETECTTRIGGER_RTPROCESSING_H
realtime library export/import macros.
#define RTPROCESINGSHARED_EXPORT
RTPROCESINGSHARED_EXPORT QMap< int, QList< QPair< int, double > > > detectTriggerFlanksMax(const Eigen::MatrixXd &data, const QList< int > &lTriggerChannels, int iOffsetIndex, double dThreshold, bool bRemoveOffset, int iBurstLengthSamp=100)
RTPROCESINGSHARED_EXPORT QList< Eigen::MatrixXi > toEventMatrix(QMap< int, QList< QPair< int, double > > > mapTriggers)
RTPROCESINGSHARED_EXPORT QMap< int, QList< QPair< int, double > > > detectTriggerFlanksGrad(const Eigen::MatrixXd &data, const QList< int > &lTriggerChannels, int iOffsetIndex, double dThreshold, bool bRemoveOffset, const QString &type, int iBurstLengthSamp=100)