96 double dOverlap = 0.0,
97 bool bDropLast =
true);
107 static QList<FiffEpochData>
concatenateEpochs(
const QList<QList<FiffEpochData>>& epochSets);
122 static FiffEvoked
averageEpochs(
const QList<FiffEpochData>& epochs,
124 const QString& comment =
"Average");
137 static QList<Eigen::MatrixXd>
toMatrixList(
const QList<FiffEpochData>& epochs);
Export/import macros and build-info accessors for the FIFFLIB shared library.
#define FIFFSHARED_EXPORT
Single averaged evoked response: time axis, samples, baseline, channel info and processing history.
FIFF file I/O, in-memory data structures and high-level readers/writers.
Free / static helpers that turn a FiffRawData plus an event list into fixed-length epochs.
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.