Static epoching utilities: cut a FiffRawData stream into fixed-length, event-aligned epochs. More...
#include "fiff_global.h"#include "fiff_evoked.h"#include <Eigen/Core>#include <QList>#include <QPair>

Go to the source code of this file.
Classes | |
| struct | FiffEpochData |
| class | FiffEpochs |
| Free / static helpers that turn a FiffRawData plus an event list into fixed-length epochs. More... | |
Static epoching utilities: cut a FiffRawData stream into fixed-length, event-aligned epochs.
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors
Implements the equivalent of mne.Epochs construction from a continuous recording: given a FiffRawData, an event list (or a fixed step), and a time window (tmin, tmax), it returns a 3D (nepoch × nchan × nsamples) stack along with the associated FiffInfo. Bad-segment rejection (via FiffAnnotation ``BAD_*'' entries) and peak-to-peak / flatness rejection (via RejectionParams in fiff_evoked_set.h) are applied as the epochs are cut. */
namespace FIFFLIB {
/**
Fixed-length epoching result: the (nepoch × nchan × nsamples) data stack plus the matching FiffInfo.
Returned by the static epoch-cutting helpers in FiffEpochsUtils. Mirrors the mne.EpochsArray construction return value in MNE-Python.
Definition in file fiff_epochs.h.