v2.0.0
Loading...
Searching...
No Matches
bad_channels_maxwell.h
Go to the documentation of this file.
1//=============================================================================================================
18
19#ifndef BAD_CHANNELS_MAXWELL_H
20#define BAD_CHANNELS_MAXWELL_H
21
22//=============================================================================================================
23// INCLUDES
24//=============================================================================================================
25
26#include "dsp_global.h"
27
28#include <fiff/fiff_info.h>
29
30//=============================================================================================================
31// EIGEN INCLUDES
32//=============================================================================================================
33
34#include <Eigen/Core>
35
36//=============================================================================================================
37// QT INCLUDES
38//=============================================================================================================
39
40#include <QStringList>
41
42//=============================================================================================================
43// DEFINE NAMESPACE UTILSLIB
44//=============================================================================================================
45
46namespace UTILSLIB
47{
48
49//=============================================================================================================
54{
55 int iOrderIn = 8;
56 int iOrderOut = 3;
57 Eigen::Vector3d origin{0.0, 0.0, 0.04};
58 double dZThreshold = 4.0;
59 int iBlockSize = 0;
60 double dMinRatio = 1e-4;
61};
62
63//=============================================================================================================
68{
69 QStringList badChannels;
70 QList<int> badIndices;
71 Eigen::VectorXd residuals;
72 Eigen::VectorXd zScores;
73};
74
75//=============================================================================================================
91 const Eigen::MatrixXd& matData,
92 const FIFFLIB::FiffInfo& info,
94
95} // namespace UTILSLIB
96
97#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:88