v2.0.0
Loading...
Searching...
No Matches
granger_causality.h
Go to the documentation of this file.
1//=============================================================================================================
37
38#ifndef GRANGERCAUSALITY_H
39#define GRANGERCAUSALITY_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//=============================================================================================================
95{
96
97public:
98 typedef QSharedPointer<GrangerCausality> SPtr;
99 typedef QSharedPointer<const GrangerCausality> ConstSPtr;
100
101 //=========================================================================================================
105 explicit GrangerCausality();
106
107 //=========================================================================================================
117 static Network calculate(ConnectivitySettings &connectivitySettings);
118};
119
120//=============================================================================================================
121// INLINE DEFINITIONS
122//=============================================================================================================
123} // namespace CONNECTIVITYLIB
124
125#endif // GRANGERCAUSALITY_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.
QSharedPointer< GrangerCausality > SPtr
QSharedPointer< const GrangerCausality > ConstSPtr
static Network calculate(ConnectivitySettings &connectivitySettings)
Graph container for one connectivity metric; nodes + weighted edges + threshold/visualisation state.
Definition network.h:98