v2.0.0
Loading...
Searching...
No Matches
MNELIB::MNERawBufDef Class Reference

Definition of one raw data buffer within a FIFF file. More...

#include <mne_raw_buf_def.h>

Public Types

typedef QSharedPointer< MNERawBufDefSPtr
typedef QSharedPointer< const MNERawBufDefConstSPtr

Public Member Functions

 MNERawBufDef ()
 Default constructor.
 ~MNERawBufDef ()
 Destructor.

Public Attributes

FIFFLIB::FiffDirEntry::SPtr ent
int firsts = 0
int lasts = 0
int ntaper = 0
int ns = 0
int nchan = 0
bool is_skip = false
Eigen::Matrix< float, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > vals
bool valid = false
Eigen::VectorXi ch_filtered
int comp_status = 0

Detailed Description

Definition of one raw data buffer within a FIFF file.

Each MNERawBufDef describes a contiguous chunk of samples, either loaded from the FIFF file or produced by the overlap-add filter pipeline. Sample values are stored in a row-major matrix (nchan x ns) that is managed by an external ring buffer; an empty (0x0) matrix indicates that the data are not currently resident in memory.

Definition at line 82 of file mne_raw_buf_def.h.

Member Typedef Documentation

◆ ConstSPtr

typedef QSharedPointer<const MNERawBufDef> MNELIB::MNERawBufDef::ConstSPtr

Const shared pointer type for MNERawBufDef.

Definition at line 86 of file mne_raw_buf_def.h.

◆ SPtr

typedef QSharedPointer<MNERawBufDef> MNELIB::MNERawBufDef::SPtr

Shared pointer type for MNERawBufDef.

Definition at line 85 of file mne_raw_buf_def.h.

Constructor & Destructor Documentation

◆ MNERawBufDef()

MNERawBufDef::MNERawBufDef ( )

Default constructor.

Definition at line 57 of file mne_raw_buf_def.cpp.

◆ ~MNERawBufDef()

MNERawBufDef::~MNERawBufDef ( )

Destructor.

Definition at line 63 of file mne_raw_buf_def.cpp.

Member Data Documentation

◆ ch_filtered

Eigen::VectorXi MNELIB::MNERawBufDef::ch_filtered

Per-channel flag: has this channel been filtered already (filtered buffers only).

Definition at line 112 of file mne_raw_buf_def.h.

◆ comp_status

int MNELIB::MNERawBufDef::comp_status = 0

Compensation status for raw buffers.

Definition at line 113 of file mne_raw_buf_def.h.

◆ ent

FIFFLIB::FiffDirEntry::SPtr MNELIB::MNERawBufDef::ent

Directory entry locating this buffer in the FIFF file (file buffers only).

Definition at line 103 of file mne_raw_buf_def.h.

◆ firsts

int MNELIB::MNERawBufDef::firsts = 0

First sample index.

Definition at line 104 of file mne_raw_buf_def.h.

◆ is_skip

bool MNELIB::MNERawBufDef::is_skip = false

True if this buffer represents a data skip.

Definition at line 109 of file mne_raw_buf_def.h.

◆ lasts

int MNELIB::MNERawBufDef::lasts = 0

Last sample index.

Definition at line 105 of file mne_raw_buf_def.h.

◆ nchan

int MNELIB::MNERawBufDef::nchan = 0

Number of channels.

Definition at line 108 of file mne_raw_buf_def.h.

◆ ns

int MNELIB::MNERawBufDef::ns = 0

Number of samples (lasts - firsts + 1).

Definition at line 107 of file mne_raw_buf_def.h.

◆ ntaper

int MNELIB::MNERawBufDef::ntaper = 0

Taper length for filtered buffers.

Definition at line 106 of file mne_raw_buf_def.h.

◆ valid

bool MNELIB::MNERawBufDef::valid = false

True if the data in this buffer are meaningful.

Definition at line 111 of file mne_raw_buf_def.h.

◆ vals

Eigen::Matrix<float, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor> MNELIB::MNERawBufDef::vals

Sample values matrix [nchan x ns], row-major (empty if not loaded).

Definition at line 110 of file mne_raw_buf_def.h.


The documentation for this class was generated from the following files: