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>
Go to the source code of this file.
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
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.