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

Circular-buffer Qt model exposing a rolling window of the live FIFF stream as a table. More...

#include "../../disp_global.h"
#include <QObject>
#include <QColor>
#include <QMap>
#include <QVector>
#include <QReadWriteLock>
#include <QSharedPointer>
#include <Eigen/Core>
Include dependency graph for channeldatamodel.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  DISPLIB::ChannelDisplayInfo
 Channel display metadata (read-only from the renderer's perspective). More...
class  DISPLIB::ChannelDataModel
 Circular-buffer Qt model exposing a rolling window of the live FIFF stream as a table. 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).

Enumerations

enum class  DISPLIB::DetrendMode { DISPLIB::None = 0 , DISPLIB::Mean = 1 , DISPLIB::Linear = 2 }
 Channel display metadata (read-only from the renderer's perspective). More...

Detailed Description

Circular-buffer Qt model exposing a rolling window of the live FIFF stream as a table.

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; 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

ChannelDataModel keeps a per-channel Eigen::MatrixXd ring buffer of the most recent N seconds of data and translates Qt's QAbstractTableModel API into the view-friendly per-row / per-time slice access that ChannelDataView and RtFiffRawViewDelegate need. It also tracks bad-channel flags, trigger annotations and the currently-active SSP / compensation / filter operators so the delegate can render the pre-processed signal without touching the raw buffer.

Definition in file channeldatamodel.h.