v2.0.0
Loading...
Searching...
No Matches
inv_rap_music.h File Reference

Recursively Applied and Projected MUSIC (RAP-MUSIC) source-localisation algorithm. More...

#include "../inv_global.h"
#include "inv_dipole.h"
#include <mne/mne_forward_solution.h>
#include <inv/inv_source_estimate.h>
#include <time.h>
#include <QVector>
#include <vector>
#include <Eigen/Core>
#include <Eigen/SVD>
#include <Eigen/LU>
Include dependency graph for inv_rap_music.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  INVLIB::Pair
 Index pair representing two grid points evaluated together in the RAP MUSIC subspace scan. More...
class  INVLIB::InvRapMusic
 RAP MUSIC (Recursively Applied and Projected Multiple Signal Classification) source localization algorithm. More...

Namespaces

namespace  INVLIB
 Inverse source estimation (MNE, dSPM, sLORETA, dipole fitting).

Macros

#define NOT_TRANSPOSED   0
#define IS_TRANSPOSED   1

Detailed Description

Recursively Applied and Projected MUSIC (RAP-MUSIC) source-localisation algorithm.

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.0.0
Date
March 2026

INVLIB::InvRapMusic implements the RAP-MUSIC scanning algorithm of Mosher & Leahy, IEEE Trans. Signal Process. 47(2), 332-340 (1999). The algorithm decomposes the measurement covariance to obtain the signal subspace, scans the leadfield for the grid-point pair with the largest subspace-correlation, projects that pair out of the signal subspace, and repeats until the desired number of sources is found or the correlation drops below the user-supplied threshold. Outputs are returned as both an InvSourceEstimate (dense grid with active vertices populated) and a list of InvDipolePair records carrying per-iteration orientation and correlation diagnostics.

Definition in file inv_rap_music.h.

Macro Definition Documentation

◆ IS_TRANSPOSED

#define IS_TRANSPOSED   1

Defines IS_TRANSPOSED.

Definition at line 63 of file inv_rap_music.h.

◆ NOT_TRANSPOSED

#define NOT_TRANSPOSED   0

Defines NOT_TRANSPOSED.

Definition at line 62 of file inv_rap_music.h.