kymata-atlas / kymata-core

Core Kymata codebase, including statistical analysis and plotting tools
https://kymata.org
MIT License
5 stars 0 forks source link

Remove medial wall hexels in order to improve source localisations #310

Closed neukym closed 1 month ago

neukym commented 1 month ago

There was previously an '--exclude label' argument in the mne-C forward solution code, but this has gone from make_forward_solution() in mne. It has been seemingly replaced with:

Which is applied to the fwd solution, returning the same fwd solution but with the hexels not within the provided labels removed. This PR aims to use this to (hopefully) improve the reconstruction by constraining the inverse solution.

Does it result in an improvement?

@neukym to check before asking for review: