v2.0.0
Loading...
Searching...
No Matches
picard_ica.h
Go to the documentation of this file.
1//=============================================================================================================
16
17#ifndef PICARD_ICA_DSP_H
18#define PICARD_ICA_DSP_H
19
20//=============================================================================================================
21// INCLUDES
22//=============================================================================================================
23
24#include "dsp_global.h"
25#include "ica.h" // Re-use IcaResult
26
27//=============================================================================================================
28// EIGEN INCLUDES
29//=============================================================================================================
30
31#include <Eigen/Core>
32
33//=============================================================================================================
34// QT INCLUDES
35//=============================================================================================================
36
37#include <QVector>
38
39//=============================================================================================================
40// DEFINE NAMESPACE UTILSLIB
41//=============================================================================================================
42
43namespace UTILSLIB
44{
45
46//=============================================================================================================
60class DSPSHARED_EXPORT PicardIca
61{
62public:
63 //=========================================================================================================
76 static IcaResult run(const Eigen::MatrixXd& matData,
77 int nComponents = -1,
78 int maxIter = 200,
79 double tol = 1e-7,
80 int lbfgsMemory = 7,
81 int randomSeed = 42);
82
83private:
84 PicardIca() = delete;
85};
86
87} // namespace UTILSLIB
88
89#endif // PICARD_ICA_DSP_H
Export/import macros and namespace declaration for the DSP library.
#define DSPSHARED_EXPORT
Definition dsp_global.h:50
FastICA-based independent component analysis for MEG / EEG artifact removal.
Shared utilities (I/O helpers, spectral analysis, layout management, warp algorithms).
Result of an ICA decomposition.
Definition ica.h:67
static IcaResult run(const Eigen::MatrixXd &matData, int nComponents=-1, int maxIter=200, double tol=1e-7, int lbfgsMemory=7, int randomSeed=42)