v2.0.0
Loading...
Searching...
No Matches
UTILSLIB::AnnotateAmplitudeParams Struct Reference

Parameters for amplitude-based annotation. More...

#include <annotate_artifact.h>

Public Attributes

std::optional< double > peak
std::optional< double > flat
double dBadPercent = 5.0
double dMinDuration = 0.005

Detailed Description

Parameters for amplitude-based annotation.

Definition at line 98 of file annotate_artifact.h.

Member Data Documentation

◆ dBadPercent

double UTILSLIB::AnnotateAmplitudeParams::dBadPercent = 5.0

A channel above or below a threshold for at least this percentage of the recording is returned as bad.

Definition at line 102 of file annotate_artifact.h.

◆ dMinDuration

double UTILSLIB::AnnotateAmplitudeParams::dMinDuration = 0.005

Runs of supra- or sub-threshold differences shorter than this (seconds) are ignored.

Definition at line 103 of file annotate_artifact.h.

◆ flat

std::optional<double> UTILSLIB::AnnotateAmplitudeParams::flat

Annotate where consecutive samples differ by at most this much (mne's flat); unset = off.

Definition at line 101 of file annotate_artifact.h.

◆ peak

std::optional<double> UTILSLIB::AnnotateAmplitudeParams::peak

Annotate where consecutive samples differ by at least this much (mne's peak); unset = off.

Definition at line 100 of file annotate_artifact.h.


The documentation for this struct was generated from the following file: