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?
[confirmed] The forward solutions do indeed have less sources in once they have passed through this function.
A test as to whether the resulting inverse solutions are better is underway, both for:
[unknown] individuals
[unknown] averages over participants
@neukym to check before asking for review:
[x] compare timing
[x] Once working, remember to remove mention of "medial wall" in file names (as implicit)
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: