36#ifndef DECODING_ICA_LABEL_H
37#define DECODING_ICA_LABEL_H
151 static QList<IcaLabelResult>
classify(
const Eigen::MatrixXd& matSources,
152 const Eigen::MatrixXd& matEog,
153 const Eigen::MatrixXd& matEcg,
155 double dEogThresh = 0.3,
156 double dEcgThresh = 0.3);
178 const Eigen::MatrixXd& matRef);
190 static double muscleScore(
const Eigen::VectorXd& source,
double dSFreq);
193 MlIcaLabel() =
delete;
Export/import macros and build-info entry points for DECODINGLIB.
#define DECODINGSHARED_EXPORT
Supervised and unsupervised spatial-filter decompositions for M/EEG decoding.
IcaComponentLabel
Categorical label assigned to a single ICA component.
Outcome of labelling a single ICA component.
static QString labelToString(IcaComponentLabel label)
static double muscleScore(const Eigen::VectorXd &source, double dSFreq)
static QList< IcaLabelResult > classify(const Eigen::MatrixXd &matSources, const Eigen::MatrixXd &matEog, const Eigen::MatrixXd &matEcg, double dSFreq, double dEogThresh=0.3, double dEcgThresh=0.3)
static double maxAbsCorrelation(const Eigen::VectorXd &source, const Eigen::MatrixXd &matRef)
static QVector< int > findArtifactComponents(const QList< IcaLabelResult > &labels)