21#ifndef EPOCH_EXTRACTOR_DSP_H
22#define EPOCH_EXTRACTOR_DSP_H
110 static QVector<MNELIB::MNEEpochData>
extract(
const Eigen::MatrixXd& matData,
111 const QVector<int>& eventSamples,
114 const QVector<int>& eventCodes = QVector<int>());
124 static Eigen::MatrixXd
average(
const QVector<MNELIB::MNEEpochData>& epochs);
134 static QVector<MNELIB::MNEEpochData>
rejectMarked(
const QVector<MNELIB::MNEEpochData>& epochs);
148 static void applyBaseline(Eigen::MatrixXd& matEpoch,
int iBase0,
int iBase1);
Single epoch (one trial slice of preprocessed sensor data) with timing and rejection metadata.
Export/import macros and namespace declaration for the DSP library.
Shared utilities (I/O helpers, spectral analysis, layout management, warp algorithms).
Epoch extraction parameters (defined outside class to avoid Clang/GCC default-argument issues with ne...
Segments continuous raw data into fixed-length epochs locked to events.
static QVector< MNELIB::MNEEpochData > rejectMarked(const QVector< MNELIB::MNEEpochData > &epochs)
static QVector< MNELIB::MNEEpochData > extract(const Eigen::MatrixXd &matData, const QVector< int > &eventSamples, double dSFreq, const Params ¶ms=Params(), const QVector< int > &eventCodes=QVector< int >())
EpochExtractorParams Params
static Eigen::MatrixXd average(const QVector< MNELIB::MNEEpochData > &epochs)