v2.0.0
Loading...
Searching...
No Matches
inv_source_estimate.cpp File Reference

Implementation of INVLIB::InvSourceEstimate including STC / W binary I/O and label-based subset access. More...

#include "inv_source_estimate.h"
#include <QFile>
#include <QDataStream>
#include <QSharedPointer>
#include <QDebug>
#include <stdexcept>
#include <QtEndian>
Include dependency graph for inv_source_estimate.cpp:

Go to the source code of this file.

Detailed Description

Implementation of INVLIB::InvSourceEstimate including STC / W binary I/O and label-based subset access.

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

Author
Christoph Dinh chris.nosp@m.toph.nosp@m..dinh.nosp@m.@mne.nosp@m.-cpp..nosp@m.org
Since
2.0.0
Date
March 2026

Provides the constructors, assignment operators, deep-copy helpers and the read / write methods for the STC and W binary formats. STC serialisation matches the MNE-Python layout (big-endian 4-byte tmin / tstep, vertex index list, then the row-major data matrix) so round-trip parity with mne-python and mne-c is preserved. Label access uses the vertex index list to materialise per-ROI sub-matrices without copying the full data block.

Definition in file inv_source_estimate.cpp.