v2.0.0
Loading...
Searching...
No Matches
sts_adjacency.h
Go to the documentation of this file.
1//=============================================================================================================
31
32#ifndef STS_ADJACENCY_H
33#define STS_ADJACENCY_H
34
35//=============================================================================================================
36// INCLUDES
37//=============================================================================================================
38
39#include "sts_global.h"
40
41//=============================================================================================================
42// FIFF INCLUDES
43//=============================================================================================================
44
45#include <fiff/fiff_info.h>
46
47//=============================================================================================================
48// QT INCLUDES
49//=============================================================================================================
50
51#include <QStringList>
52
53//=============================================================================================================
54// EIGEN INCLUDES
55//=============================================================================================================
56
57#include <Eigen/Core>
58#include <Eigen/SparseCore>
59
60//=============================================================================================================
61// DEFINE NAMESPACE STSLIB
62//=============================================================================================================
63
64namespace STSLIB
65{
66
67//=============================================================================================================
74{
75public:
76 //=========================================================================================================
86 static Eigen::SparseMatrix<int> fromChannelPositions(
87 const FIFFLIB::FiffInfo& info,
88 const QStringList& picks = QStringList());
89
90 //=========================================================================================================
99 static Eigen::SparseMatrix<int> fromSourceSpace(
100 const Eigen::MatrixX3i& tris,
101 int nVertices);
102
103 //=========================================================================================================
119 static Eigen::SparseMatrix<int> fromSourceSpaceTemporal(
120 const Eigen::MatrixX3i& tris,
121 int nVertices,
122 int nTimes);
123};
124
125} // namespace STSLIB
126
127#endif // STS_ADJACENCY_H
Full FIFF measurement metadata: everything from FIFFB_MEAS / FIFFB_MEAS_INFO needed to interpret a re...
STSLIB shared-library export macro and build-info accessors for the statistical-tests library.
#define STSSHARED_EXPORT
Definition sts_global.h:44
Statistical testing (t-tests, F-tests, cluster permutation, multiple comparison correction).
Full FIFF measurement info: per-channel descriptors, sampling and filter setup, projectors,...
Definition fiff_info.h:88
Builds the sparse spatial and spatio-temporal neighbourhood graphs that define cluster support for pe...
static Eigen::SparseMatrix< int > fromSourceSpace(const Eigen::MatrixX3i &tris, int nVertices)
static Eigen::SparseMatrix< int > fromChannelPositions(const FIFFLIB::FiffInfo &info, const QStringList &picks=QStringList())
static Eigen::SparseMatrix< int > fromSourceSpaceTemporal(const Eigen::MatrixX3i &tris, int nVertices, int nTimes)