Implementation of MNELIB::MNERawData. More...
#include "mne_raw_data.h"#include <QFile>#include <QDebug>#include <QTextStream>#include <Eigen/Core>#include <math.h>
Go to the source code of this file.
Classes | |
| struct | MNELIB::RingBuffer |
| Circular ring buffer for managing raw-data matrix allocations. More... | |
| struct | MNELIB::RingBuffer::Entry |
| struct | MNELIB::FilterData |
| Pre-computed frequency-domain filter state used for FFT-based raw data filtering. More... | |
Namespaces | |
| namespace | MNELIB |
| Core MNE data structures (source spaces, source estimates, hemispheres). | |
Macros | |
| #define | _USE_MATH_DEFINES |
| #define | APPROX_RING_BUF_SIZE (600*1024*1024) |
Typedefs | |
| using | MNELIB::RowMajorMatrixXf = Eigen::Matrix<float, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor> |
Functions | |
| int | mne_compare_filters (const MNEFilterDef &f1, const MNEFilterDef &f2) |
| void | mne_fft_ana (float *data, int np, std::vector< float > &) |
| void | mne_fft_syn (float *data, int np, std::vector< float > &) |
| int | mne_apply_filter (const MNEFilterDef &filter, FilterData *d, float *data, int ns, int zero_pad, float dc_offset, int kind) |
| std::unique_ptr< FilterData > | mne_create_filter_response (const MNEFilterDef &filter, float sfreq, int *highpass_effective) |
| int | mne_read_raw_buffer_t (FiffStream::SPtr &stream, const FiffDirEntry::SPtr &ent, RowMajorMatrixXf &data, int nchan, int nsamp, const QList< FIFFLIB::FiffChInfo > &chs, int *pickno, int npick) |
| int | mne_read_bad_channel_list_from_node (FiffStream::SPtr &stream, const FiffDirNode::SPtr &pNode, QStringList &listp, int &nlistp) |
| int | mne_read_bad_channel_list (const QString &name, QStringList &listp, int &nlistp) |
| int | mne_sparse_vec_mult2 (FiffSparseMatrix *mat, float *vector, float *res) |
| int | mne_sparse_mat_mult2 (FiffSparseMatrix *mat, const RowMajorMatrixXf &mult, int ncol, RowMajorMatrixXf &res) |
Variables | |
| constexpr int | FAIL = -1 |
| constexpr int | OK = 0 |
Implementation of MNELIB::MNERawData.
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors
Implements buffer-list construction by walking the FIFFB_RAW_DATA block tree, per-buffer file seek/read with on-the-fly type conversion to single precision and SSP/CTF application as the buffers stream through.
Definition in file mne_raw_data.cpp.
| #define _USE_MATH_DEFINES |
Definition at line 30 of file mne_raw_data.cpp.
| #define APPROX_RING_BUF_SIZE (600*1024*1024) |
Definition at line 498 of file mne_raw_data.cpp.
| int mne_apply_filter | ( | const MNEFilterDef & | filter, |
| FilterData * | d, | ||
| float * | data, | ||
| int | ns, | ||
| int | zero_pad, | ||
| float | dc_offset, | ||
| int | kind ) |
Definition at line 164 of file mne_raw_data.cpp.
| int mne_compare_filters | ( | const MNEFilterDef & | f1, |
| const MNEFilterDef & | f2 ) |
Definition at line 120 of file mne_raw_data.cpp.
| std::unique_ptr< FilterData > mne_create_filter_response | ( | const MNEFilterDef & | filter, |
| float | sfreq, | ||
| int * | highpass_effective ) |
Definition at line 234 of file mne_raw_data.cpp.
| void mne_fft_ana | ( | float * | data, |
| int | np, | ||
| std::vector< float > & | ) |
Definition at line 142 of file mne_raw_data.cpp.
| void mne_fft_syn | ( | float * | data, |
| int | np, | ||
| std::vector< float > & | ) |
Definition at line 153 of file mne_raw_data.cpp.
| int mne_read_bad_channel_list | ( | const QString & | name, |
| QStringList & | listp, | ||
| int & | nlistp ) |
Definition at line 452 of file mne_raw_data.cpp.
| int mne_read_bad_channel_list_from_node | ( | FiffStream::SPtr & | stream, |
| const FiffDirNode::SPtr & | pNode, | ||
| QStringList & | listp, | ||
| int & | nlistp ) |
Definition at line 421 of file mne_raw_data.cpp.
| int mne_read_raw_buffer_t | ( | FiffStream::SPtr & | stream, |
| const FiffDirEntry::SPtr & | ent, | ||
| RowMajorMatrixXf & | data, | ||
| int | nchan, | ||
| int | nsamp, | ||
| const QList< FIFFLIB::FiffChInfo > & | chs, | ||
| int * | pickno, | ||
| int | npick ) |
Definition at line 335 of file mne_raw_data.cpp.
| int mne_sparse_mat_mult2 | ( | FiffSparseMatrix * | mat, |
| const RowMajorMatrixXf & | mult, | ||
| int | ncol, | ||
| RowMajorMatrixXf & | res ) |
Definition at line 483 of file mne_raw_data.cpp.
| int mne_sparse_vec_mult2 | ( | FiffSparseMatrix * | mat, |
| float * | vector, | ||
| float * | res ) |
Definition at line 470 of file mne_raw_data.cpp.
|
constexpr |
Definition at line 41 of file mne_raw_data.cpp.
|
constexpr |
Definition at line 42 of file mne_raw_data.cpp.