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

Implementation of INVLIB::SourceMorph (matrix caching and apply step). More...

#include "source_morph.h"
#include <QDebug>
Include dependency graph for source_morph.cpp:

Go to the source code of this file.

Detailed Description

Implementation of INVLIB::SourceMorph (matrix caching and apply step).

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 compute (caches the from/to vertex lists and the sparse (nTo × nFrom) interpolation matrix) and apply, which is a single sparse-matrix × dense-matrix product against the data block of the input InvSourceEstimate. Vertex lists, time origin and time step are propagated from the input so the morphed estimate is indistinguishable in metadata layout from one solved natively on the target subject.

Definition in file source_morph.cpp.