v2.0.0
Loading...
Searching...
No Matches
bad_channels_maxwell.h
Go to the documentation of this file.
1//=============================================================================================================
20
21#ifndef BAD_CHANNELS_MAXWELL_H
22#define BAD_CHANNELS_MAXWELL_H
23
24//=============================================================================================================
25// INCLUDES
26//=============================================================================================================
27
28#include "dsp_global.h"
29
30#include <fiff/fiff_info.h>
31
32//=============================================================================================================
33// EIGEN INCLUDES
34//=============================================================================================================
35
36#include <Eigen/Core>
37
38//=============================================================================================================
39// QT INCLUDES
40//=============================================================================================================
41
42#include <QStringList>
43
44//=============================================================================================================
45// DEFINE NAMESPACE UTILSLIB
46//=============================================================================================================
47
48namespace UTILSLIB
49{
50
51//=============================================================================================================
58{
59 int iOrderIn = 8;
60 int iOrderOut = 3;
61 Eigen::Vector3d origin{0.0, 0.0, 0.04};
62 double dZThreshold = 4.0;
63 int iBlockSize = 0;
64 double dMinRatio = 1e-4;
65};
66
67//=============================================================================================================
74{
75 QStringList badChannels;
76 QList<int> badIndices;
77 Eigen::VectorXd residuals;
78 Eigen::VectorXd zScores;
79};
80
81//=============================================================================================================
97 const Eigen::MatrixXd& matData,
98 const FIFFLIB::FiffInfo& info,
100
101} // namespace UTILSLIB
102
103#endif // BAD_CHANNELS_MAXWELL_H
Full FIFF measurement metadata: everything from FIFFB_MEAS / FIFFB_MEAS_INFO needed to interpret a re...
Export/import macros and namespace declaration for the DSP library.
#define DSPSHARED_EXPORT
Definition dsp_global.h:50
Shared utilities (I/O helpers, spectral analysis, layout management, warp algorithms).
DSPSHARED_EXPORT BadChannelsMaxwellResult findBadChannelsMaxwell(const Eigen::MatrixXd &matData, const FIFFLIB::FiffInfo &info, const BadChannelsMaxwellParams &params=BadChannelsMaxwellParams())
Detect bad MEG channels using SSS reconstruction residuals.
Parameters for SSS-based bad channel detection.
Result of SSS-based bad channel detection.
Full FIFF measurement info: per-channel descriptors, sampling and filter setup, projectors,...
Definition fiff_info.h:90