v2.0.0
Loading...
Searching...
No Matches
inv_label_time_course.h
Go to the documentation of this file.
1//=============================================================================================================
21
22#ifndef INV_LABEL_TIME_COURSE_H
23#define INV_LABEL_TIME_COURSE_H
24
25//=============================================================================================================
26// INCLUDES
27//=============================================================================================================
28
29#include "inv_global.h"
30#include "inv_source_estimate.h"
31
32#include <fs/fs_label.h>
33
34//=============================================================================================================
35// EIGEN INCLUDES
36//=============================================================================================================
37
38#include <Eigen/Core>
39
40//=============================================================================================================
41// QT INCLUDES
42//=============================================================================================================
43
44#include <QList>
45#include <QString>
46
47//=============================================================================================================
48// DEFINE NAMESPACE INVLIB
49//=============================================================================================================
50
51namespace INVLIB
52{
53
54//=============================================================================================================
74{
75public:
76 //=========================================================================================================
86 static Eigen::MatrixXd extract(const InvSourceEstimate& stc,
87 const QList<FSLIB::FsLabel>& labels,
88 const QString& sMode = "mean_flip",
89 bool bAllowEmpty = false);
90
91 //=========================================================================================================
102 static Eigen::VectorXd computeSignFlip(const Eigen::MatrixXd& stcData);
103};
104
105} // namespace INVLIB
106
107#endif // INV_LABEL_TIME_COURSE_H
Reader and in-memory representation of a FreeSurfer/MNE surface label (.label).
InvSourceEstimate value type — central source-space data container produced by every INVLIB inverse s...
INVLIB library export/import macros, build-info accessors, and namespace docstring for the inverse-so...
#define INVSHARED_EXPORT
Definition inv_global.h:38
Inverse source estimation (MNE, dSPM, sLORETA, dipole fitting).
Extract ROI-level time courses from vertex-level source estimates.
static Eigen::VectorXd computeSignFlip(const Eigen::MatrixXd &stcData)
static Eigen::MatrixXd extract(const InvSourceEstimate &stc, const QList< FSLIB::FsLabel > &labels, const QString &sMode="mean_flip", bool bAllowEmpty=false)
Source-space inverse-solution container with dense grid plus optional focal-dipole,...