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

Go to the source code of this file.
Implementation of INVLIB::SourceMorph (matrix caching and apply step).
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors
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.