Powell-accelerated RAP-MUSIC variant — replaces the exhaustive pair scan with a Powell line-search refinement. More...
#include "../inv_global.h"#include "inv_rap_music.h"#include "inv_dipole.h"#include <mne/mne_forward_solution.h>#include <inv/inv_source_estimate.h>#include <time.h>#include <QVector>#include <Eigen/Core>#include <Eigen/SVD>#include <Eigen/LU>

Go to the source code of this file.
Classes | |
| class | INVLIB::InvPwlRapMusic |
| Powell-accelerated RAP MUSIC variant using gradient-free optimization for refined dipole fitting. More... | |
Namespaces | |
| namespace | INVLIB |
| Inverse source estimation (MNE, dSPM, sLORETA, dipole fitting). | |
Macros | |
| #define | NOT_TRANSPOSED 0 |
| #define | IS_TRANSPOSED 1 |
Powell-accelerated RAP-MUSIC variant — replaces the exhaustive pair scan with a Powell line-search refinement.
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors
INVLIB::InvPwlRapMusic derives from InvRapMusic and overrides the pair-scanning step with a Powell direction-set optimiser, drastically reducing the number of leadfield evaluations per iteration on dense grids. All other behaviour — signal-subspace estimation, recursive projection, stopping criterion, output assembly — is inherited from the base class so results stay comparable to the exhaustive scanner.
Definition in file inv_pwl_rap_music.h.
| #define IS_TRANSPOSED 1 |
Defines IS_TRANSPOSED.
Definition at line 59 of file inv_pwl_rap_music.h.
| #define NOT_TRANSPOSED 0 |
Defines NOT_TRANSPOSED.
Definition at line 58 of file inv_pwl_rap_music.h.