94 double dOverlap = 0.0,
95 bool bDropLast =
true);
105 static QList<FiffEpochData>
concatenateEpochs(
const QList<QList<FiffEpochData>>& epochSets);
122 const QString& comment =
"Average");
135 static QList<Eigen::MatrixXd>
toMatrixList(
const QList<FiffEpochData>& epochs);
Single averaged evoked response: time axis, samples, baseline, channel info and processing history.
Export/import macros and build-info accessors for the FIFFLIB shared library.
#define FIFFSHARED_EXPORT
FIFF file I/O, in-memory data structures and high-level readers/writers.
Fixed-length epoching result: the (nepoch × nchan × nsamples) data stack plus the matching FiffInfo.
Static helpers that cut continuous data into fixed-length epochs, concatenate and average them.
static QList< FiffEpochData > makeFixedLengthEpochs(const Eigen::MatrixXd &matData, double dSFreq, double dDuration, double dOverlap=0.0, bool bDropLast=true)
Create fixed-length epochs from continuous data.
static QList< FiffEpochData > concatenateEpochs(const QList< QList< FiffEpochData > > &epochSets)
Concatenate multiple epoch sets into a single list.
static QList< Eigen::MatrixXd > toMatrixList(const QList< FiffEpochData > &epochs)
Extract data matrices from epoch structures.
static FiffEvoked averageEpochs(const QList< FiffEpochData > &epochs, double dSFreq, const QString &comment="Average")
Compute the average (evoked response) across epochs.
Single averaged evoked response: time axis, data, baseline, channel info and averaging metadata.