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//=============================================================================================================
73// CONNECTIVITYLIB FORWARD DECLARATIONS
74//=============================================================================================================
75
76class Network;
78
79//=============================================================================================================
98{
99public:
100 typedef QSharedPointer<GrangerCausality> SPtr;
101 typedef QSharedPointer<const GrangerCausality> ConstSPtr;
102
103 //=========================================================================================================
107 explicit GrangerCausality();
108
109 //=========================================================================================================
119 static Network calculate(ConnectivitySettings& connectivitySettings);
120};
121
122//=============================================================================================================
123// INLINE DEFINITIONS
124//=============================================================================================================
125} // namespace CONNECTIVITYLIB
126
127#endif // GRANGERCAUSALITY_H
Export/import macros for the CONNECTIVITYLIB functional-connectivity library.
#define CONNECTIVITYSHARED_EXPORT
Common static knobs shared by every functional-connectivity estimator in CONNECTIVITYLIB.
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:106