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//=============================================================================================================
76{
77public:
78 //=========================================================================================================
88 static Eigen::SparseMatrix<int> fromChannelPositions(
89 const FIFFLIB::FiffInfo& info,
90 const QStringList& picks = QStringList());
91
92 //=========================================================================================================
101 static Eigen::SparseMatrix<int> fromSourceSpace(
102 const Eigen::MatrixX3i& tris,
103 int nVertices);
104
105 //=========================================================================================================
121 static Eigen::SparseMatrix<int> fromSourceSpaceTemporal(
122 const Eigen::MatrixX3i& tris,
123 int nVertices,
124 int nTimes);
125};
126
127} // namespace STSLIB
128
129#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:90
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)