v2.0.0
Loading...
Searching...
No Matches
coherence.h
Go to the documentation of this file.
1//=============================================================================================================
37
38#ifndef COHERENCE_H
39#define COHERENCE_H
40
41//=============================================================================================================
42// INCLUDES
43//=============================================================================================================
44
46
47#include "abstractmetric.h"
48
49//=============================================================================================================
50// QT INCLUDES
51//=============================================================================================================
52
53#include <QSharedPointer>
54
55//=============================================================================================================
56// EIGEN INCLUDES
57//=============================================================================================================
58
59#include <Eigen/Core>
60
61//=============================================================================================================
62// FORWARD DECLARATIONS
63//=============================================================================================================
64
65//=============================================================================================================
66// DEFINE NAMESPACE CONNECTIVITYLIB
67//=============================================================================================================
68
69namespace CONNECTIVITYLIB {
70
71//=============================================================================================================
72// CONNECTIVITYLIB FORWARD DECLARATIONS
73//=============================================================================================================
74
75class Network;
77
78//=============================================================================================================
90{
91
92public:
93 typedef QSharedPointer<Coherence> SPtr;
94 typedef QSharedPointer<const Coherence> ConstSPtr;
95
96 //=========================================================================================================
100 explicit Coherence();
101
102 //=========================================================================================================
110 static Network calculate(ConnectivitySettings &connectivitySettings);
111};
112
113//=============================================================================================================
114// INLINE DEFINITIONS
115//=============================================================================================================
116} // namespace CONNECTIVITYLIB
117
118#endif // COHERENCE_H
Common static knobs shared by every functional-connectivity estimator in CONNECTIVITYLIB.
Export/import macros for the CONNECTIVITYLIB functional-connectivity library.
#define CONNECTIVITYSHARED_EXPORT
Functional connectivity metrics (coherence, PLV, cross-correlation, etc.).
Aggregates trial data, spectral cache and node geometry shared by all CONNECTIVITYLIB metrics.
static Network calculate(ConnectivitySettings &connectivitySettings)
Definition coherence.cpp:61
QSharedPointer< const Coherence > ConstSPtr
Definition coherence.h:94
QSharedPointer< Coherence > SPtr
Definition coherence.h:93
Graph container for one connectivity metric; nodes + weighted edges + threshold/visualisation state.
Definition network.h:98