v2.0.0
Loading...
Searching...
No Matches
epoch_extractor.h File Reference

Declaration of EpochExtractor — segments continuous MEG/EEG data into trials. More...

#include "dsp_global.h"
#include <mne/mne_epoch_data.h>
#include <Eigen/Core>
#include <QVector>
Include dependency graph for epoch_extractor.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  UTILSLIB::EpochExtractorParams
 Epoch extraction parameters (defined outside class to avoid Clang/GCC default-argument issues with nested structs). More...
class  UTILSLIB::EpochExtractor
 Segments continuous raw data into fixed-length epochs locked to events. More...

Namespaces

namespace  UTILSLIB
 Shared utilities (I/O helpers, spectral analysis, layout management, warp algorithms).

Detailed Description

Declaration of EpochExtractor — segments continuous MEG/EEG data into trials.

SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors

Author
Christoph Dinh chris.nosp@m.toph.nosp@m..dinh.nosp@m.@mne.nosp@m.-cpp..nosp@m.org
Since
2.1.0
Date
March 2026

EpochExtractor turns a continuous raw recording into a set of fixed-length trials (epochs) locked to stimulus or response events. Each epoch can optionally have baseline correction applied and can be rejected if any channel exceeds a peak-to-peak amplitude threshold.

The output epochs are stored as MNEEpochData objects (data matrix + event code + tmin/tmax

  • rejection flag) which integrate with the rest of the MNE-CPP analysis pipeline.

Definition in file epoch_extractor.h.