BadChannelDetectParams
Namespace: UTILSLIB · Library: Utilities Library
#include <utils/bad_channel_detect.h>
struct UTILSLIB::BadChannelDetectParams
Bad-channel detection parameters (defined outside class to avoid Clang/GCC default-argument issues with nested structs).
src/examples/ex_dsp_artifacts/main.cpp
BadChannelDetect::Params badParams;
badParams.dFlatThreshold = 1e-9; // EEG in volts
const QVector<int> flat = BadChannelDetect::detectFlat(data.topRows(kEeg), badParams.dFlatThreshold);
const QVector<int> bad = BadChannelDetect::detect(data.topRows(kEeg), badParams);
Example
- Full source:
src/examples/ex_dsp_artifacts/main.cpp - Build target:
ex_dsp_artifacts(runs under CTest)
Authors of this file
- Christoph Dinh <christoph.dinh@mne-cpp.org>