Skip to main content

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​

Authors of this file​