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

Implementation of the CSV / matrix exporters and importer in INVLIB::InvSourceEstimateIO. More...

#include "inv_source_estimate_io.h"
#include <QFile>
#include <QTextStream>
#include <QDebug>
#include <QStringList>
Include dependency graph for inv_source_estimate_io.cpp:

Go to the source code of this file.

Detailed Description

Implementation of the CSV / matrix exporters and importer in INVLIB::InvSourceEstimateIO.

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.2.1
Date
May 2026

Implements buffered streaming readers and writers that walk the source-estimate row-by-row so very large estimates can be persisted without doubling memory. Handles configurable delimiters, header lines carrying vertex indices and graceful failure modes that return an empty estimate (rather than throwing) when the input file is malformed.

Definition in file inv_source_estimate_io.cpp.