v2.0.0
Loading...
Searching...
No Matches
evokedsetmodel.h File Reference

QAbstractTableModel wrapping a FiffEvokedSet so views can render per-condition averages without copying data. More...

#include "../../disp_global.h"
#include <dsp/filterkernel.h>
#include <fiff/fiff_types.h>
#include <QAbstractTableModel>
#include <QSharedPointer>
#include <QColor>
#include <Eigen/Core>
#include <Eigen/SparseCore>
Include dependency graph for evokedsetmodel.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DISPLIB::EvokedSetModel
 QAbstractTableModel wrapping a FiffEvokedSet (one row per channel, one column per condition). More...

Namespaces

namespace  FIFFLIB
 FIFF file I/O, in-memory data structures and high-level readers/writers.
namespace  DISPLIB
 2-D display widgets and visualisation helpers (charts, topography, colour maps).
namespace  DISPLIB::EvokedSetModelRoles

Macros

#define metatype_listrowvectorxd
#define metatype_listrowvectorpair

Typedefs

typedef Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > DISPLIB::MatrixXdR
typedef QPair< QString, Eigen::RowVectorXd > DISPLIB::AvrTypeRowVector
typedef QPair< QString, DISPLIB::RowVectorPairDISPLIB::AvrTypeRowVectorPair

Enumerations

enum  DISPLIB::EvokedSetModelRoles::ItemRole { DISPLIB::EvokedSetModelRoles::GetAverageData = Qt::UserRole + 1020 }

Functions

 Q_DECLARE_METATYPE (DISPLIB::AvrTypeRowVector)
 Q_DECLARE_METATYPE (DISPLIB::AvrTypeRowVectorPair)

Detailed Description

QAbstractTableModel wrapping a FiffEvokedSet so views can render per-condition averages without copying data.

SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2018-2026 MNE-CPP Authors

Author
Lorenz Esch loren.nosp@m.z.es.nosp@m.ch@tu.nosp@m.-ilm.nosp@m.enau..nosp@m.de; Gabriel Motta gabri.nosp@m.elbe.nosp@m.nmott.nosp@m.a@gm.nosp@m.ail.c.nosp@m.om; Juan GPC jgarc.nosp@m.iapr.nosp@m.ieto@.nosp@m.mgh..nosp@m.harva.nosp@m.rd.e.nosp@m.du; Christoph Dinh chris.nosp@m.toph.nosp@m..dinh.nosp@m.@mne.nosp@m.-cpp..nosp@m.org
Since
0.1.0
Date
July 2018

EvokedSetModel exposes one row per FIFF channel and one column per condition; each cell yields the underlying time-series view (plus colour / visibility) needed by ButterflyView and AverageLayoutView. It also propagates baseline-correction, SSP-projection and bad-channel updates so the visualisations stay in sync with the latest pre-processing settings.

Definition in file evokedsetmodel.h.

Macro Definition Documentation

◆ metatype_listrowvectorpair

#define metatype_listrowvectorpair

Definition at line 441 of file evokedsetmodel.h.

◆ metatype_listrowvectorxd

#define metatype_listrowvectorxd

Definition at line 436 of file evokedsetmodel.h.

Function Documentation

◆ Q_DECLARE_METATYPE() [1/2]

Q_DECLARE_METATYPE ( DISPLIB::AvrTypeRowVector )

Provides QT META type declaration of the Eigen::RowVectorXd type. For signal/slot usage.

◆ Q_DECLARE_METATYPE() [2/2]

Q_DECLARE_METATYPE ( DISPLIB::AvrTypeRowVectorPair )