mne-tools / mne-python

MNE: Magnetoencephalography (MEG) and Electroencephalography (EEG) in Python
https://mne.tools
BSD 3-Clause "New" or "Revised" License
2.71k stars 1.32k forks source link

Subspace pursuit sparse source localisation #11743

Open jshanna100 opened 1 year ago

jshanna100 commented 1 year ago

Describe the new feature or enhancement

Hi, a while ago I implemented the the subspace pursuit algorithm for sparse source localisation described here: https://www.sciencedirect.com/science/article/abs/pii/S1053811913009440

I wonder if there is interest in adding it to the already existing suite of tools for sparse source localisation?

Describe your proposed implementation

The branch is found here, if memory serves me correctly I followed the paper pretty closely: https://github.com/jshanna100/mne-python/tree/greedy

Describe possible alternatives

The authors of the paper do state that their code is available on request, but I never had any luck getting it from them, which is why I did my own implementation.

Additional context

No response

larsoner commented 1 year ago

@agramfort WDYT about adding subspace pursuit?

agramfort commented 1 year ago

no strong feeling here. I just fear that the interaction with a hierarchical source space is a bit harder than the other solvers we have.

jshanna100 commented 1 year ago

Do you mean harder for the end user? I would definitely also want to include an example/tutorial in the PR to help out with that.