MNE-CPP
0.1.9
A Framework for Electrophysiology
src
libraries
connectivity
metrics
correlation.h
Go to the documentation of this file.
1
//=============================================================================================================
35
#ifndef CORRELATION_H
36
#define CORRELATION_H
37
38
//=============================================================================================================
39
// INCLUDES
40
//=============================================================================================================
41
42
#include "../connectivity_global.h"
43
44
#include "
abstractmetric.h
"
45
#include "../connectivitysettings.h"
46
47
//=============================================================================================================
48
// QT INCLUDES
49
//=============================================================================================================
50
51
#include <QSharedPointer>
52
53
//=============================================================================================================
54
// EIGEN INCLUDES
55
//=============================================================================================================
56
57
#include <Eigen/Core>
58
59
//=============================================================================================================
60
// FORWARD DECLARATIONS
61
//=============================================================================================================
62
63
//=============================================================================================================
64
// DEFINE NAMESPACE CONNECTIVITYLIB
65
//=============================================================================================================
66
67
namespace
CONNECTIVITYLIB {
68
69
//=============================================================================================================
70
// CONNECTIVITYLIB FORWARD DECLARATIONS
71
//=============================================================================================================
72
73
class
Network;
74
75
//=============================================================================================================
81
class
CONNECTIVITYSHARED_EXPORT
Correlation
:
public
AbstractMetric
82
{
83
84
public
:
85
typedef
QSharedPointer<Correlation>
SPtr
;
86
typedef
QSharedPointer<const Correlation>
ConstSPtr
;
88
//=========================================================================================================
92
explicit
Correlation
();
93
94
//=========================================================================================================
102
static
Network
calculate(
ConnectivitySettings
&connectivitySettings);
103
104
protected
:
105
//=========================================================================================================
113
static
Eigen::MatrixXd compute(
const
ConnectivitySettings::IntermediateTrialData
& inputData);
114
115
//=========================================================================================================
122
static
void
reduce(Eigen::MatrixXd &resultData,
123
const
Eigen::MatrixXd &data);
124
};
125
126
//=============================================================================================================
127
// INLINE DEFINITIONS
128
//=============================================================================================================
129
}
// namespace CONNECTIVITYLIB
130
131
#endif // CORRELATION_H
CONNECTIVITYLIB::ConnectivitySettings::IntermediateTrialData
Definition:
connectivitysettings.h:98
CONNECTIVITYLIB::Network
This class holds information about a network, can compute a distance table and provide network metric...
Definition:
network.h:88
CONNECTIVITYLIB::AbstractMetric
This class provides basic functionalities for all implemented metrics.
Definition:
abstractmetric.h:77
CONNECTIVITYSHARED_EXPORT
#define CONNECTIVITYSHARED_EXPORT
Definition:
connectivity_global.h:54
CONNECTIVITYLIB::ConnectivitySettings
This class is a container for connectivity settings.
Definition:
connectivitysettings.h:91
CONNECTIVITYLIB::Correlation::ConstSPtr
QSharedPointer< const Correlation > ConstSPtr
Definition:
correlation.h:86
CONNECTIVITYLIB::Correlation
This class computes the correlation metric.
Definition:
correlation.h:81
CONNECTIVITYLIB::Correlation::SPtr
QSharedPointer< Correlation > SPtr
Definition:
correlation.h:85
abstractmetric.h
AbstractMetric class declaration.
Generated on Wed Aug 9 2023 17:55:40 for MNE-CPP by
1.8.17