mne-python icon indicating copy to clipboard operation
mne-python copied to clipboard

API for mixed source space inverses

Open haribharadwaj opened this issue 11 years ago • 7 comments

So with Alan's work, we now have support for mixed source spaces. The forward modeling once you have a mixed source space seems straightforward (already in place). However, with the inverse, there are some use cases that need to be sorted out: Ideally, orientation constraints should be supported for the cortical surface source space and loose solutions for the deep structure(s). What should the API be?

Thoughts?

haribharadwaj avatar May 28 '15 21:05 haribharadwaj

Indeed

Dict for loose param

On 28 mai 2015, at 23:32, Hari Bharadwaj [email protected] wrote:

So with Alan's work, we now have support for mixed source spaces. The forward modeling once you have a mixed source space seems straightforward (already in place). However, with the inverse, there are some use cases that need to be sorted out: Ideally, orientation constraints should be supported for the cortical surface source space and loose solutions for the deep structure(s). What should the API be?

Thoughts?

— Reply to this email directly or view it on GitHub.

agramfort avatar May 28 '15 21:05 agramfort

we could have it be a list the same length of the source spaces, that way if you wanted free for one volume and loose or fixed for another you could... but maybe that's YAGNI

larsoner avatar May 28 '15 21:05 larsoner

in which case I guess the entries would be surf, volume, and discrete for the three types of source spaces? I guess we could always also add list support later.

larsoner avatar May 28 '15 21:05 larsoner

Yes

On 28 mai 2015, at 23:50, Eric Larson [email protected] wrote:

in which case I guess the entries would be surf, volume, and discrete for the three types of source spaces? I guess we could always also add list support later.

— Reply to this email directly or view it on GitHub.

agramfort avatar May 28 '15 21:05 agramfort

@haribharadwaj you up for implementing?

larsoner avatar May 28 '15 23:05 larsoner

Yes.. I'll start playing with this :).. I have been separately trying to figure out the differences between gradiometers and magnetometers in terms of subcortical sensitivity.. I'm sure I'll ping you guys again with questions soon.

haribharadwaj avatar May 29 '15 01:05 haribharadwaj

sounds great !

agramfort avatar May 29 '15 07:05 agramfort