Skip to main content

ArtifactDetectProjParams

Namespace: UTILSLIB  ·  Library: Utilities Library

#include <utils/artifact_detect.h>

struct UTILSLIB::ArtifactDetectProjParams

SSP parameters of compute_proj_ecg / compute_proj_eog; ecg() and eog() give the MNE-Python defaults.

src/examples/ex_dsp_artifacts/main.cpp
ArtifactDetect::EcgParams ecg; // mne find_ecg_events defaults: 5-35 Hz, automatic QRS threshold
ArtifactDetect::EogParams eog; // mne find_eog_events defaults: 1-10 Hz, automatic peak threshold
const QVector<int> beats = ArtifactDetect::detectEcg(data, info, kSFreq, ecg); // R-peak samples on the ECG channel
const QVector<int> blinks = ArtifactDetect::detectEog(data, info, kSFreq, eog); // blink peaks on the EOG channel

Static Methods​

ecg()​

Returns:


eog()​

Returns:


Example​

Authors of this file​