107 static bool read(
const QString& t_sEventName,
108 const QString& t_fileRawName,
155 float sfreq = 0.0f)
const;
172 const QString& triggerCh = QString(
"STI 014"),
173 unsigned int triggerMask = 0xFFFFFFFF,
174 bool leadingEdge =
true);
202 const Eigen::MatrixXi&
events,
215 FiffEvents pick(
const QList<int>& include,
const QList<int>& exclude = {},
bool step =
false)
const;
227 FiffEvents merge(
const QList<int>& ids,
int newId,
bool replaceEvents =
true)
const;
237 QMap<int, int> count(
const QList<int>& ids = {})
const;
249 static FiffEvents concatenate(
const QList<FiffEvents>& events,
const QList<int>& firstSamps,
const QList<int>& lastSamps);
263 static FiffEvents find_stim_steps(
const Eigen::MatrixXi& stimData,
265 std::optional<int> padStart = std::nullopt,
266 std::optional<int> padStop = std::nullopt,
283 static FiffEvents make_fixed_length(
const FiffRawData& raw,
287 double duration = 1.0,
288 bool firstSamp =
true,
289 double overlap = 0.0);
302 return static_cast<int>(
events.rows());
309 return events.rows() == 0;
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.
FIFF event list: (sample, prev, new) integer triples with read / write / detect / filter helpers.
bool write_to_ascii(QIODevice &p_IODevice, float sfreq=0.0f) const
static bool matchEvent(const AverageCategory &cat, const Eigen::MatrixXi &events, int eventIdx)
static bool read(const QString &t_sEventName, const QString &t_fileRawName, FiffEvents &p_Events)
static bool read_from_fif(QIODevice &p_IODevice, FiffEvents &p_Events)
FiffEvents(QIODevice &p_IODevice)
bool write_to_fif(QIODevice &p_IODevice) const
FiffEvents pick(const QList< int > &include, const QList< int > &exclude={}, bool step=false) const
static bool detect_from_raw(const FiffRawData &raw, FiffEvents &p_Events, const QString &triggerCh=QString("STI 014"), unsigned int triggerMask=0xFFFFFFFF, bool leadingEdge=true)
static bool read_from_ascii(QIODevice &p_IODevice, FiffEvents &p_Events)
One averaging category in an MNE-C ave-description file: trigger logic, timing window,...
Continuous FIFF raw recording: FiffInfo plus a random-access directory of FIFF_DATA_BUFFER tags.