You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been working on the option to scale the fsaverage brain to adapt it to the subject's head-shape. Do you think this should go into mne-python eventually? Fitting proceeds by matching the nasion position and then using scipy least squares optimization to minimize the distance of the digitizer points from the mri. I've divided the implementation into the fitting and a traits based interface (see below). I don't really like the traits interface but it has the advantage of only depending on mayavi and not a specific GUI library.
I would first open a PR so we know it's there or publish this on a gist
if it can (not too nested in the mne-python code). At least it does not
get lost.
we'll keep it around and eventually merge if more people ask about this
feature.
I think it would be great to have a fitting function which could also be used without the GUI. This would e.g. be useful for realtime processing.
Do you need a scaled MRI for that, or merely the head => mri transform? The new mne.transforms.coreg.MriHeadFitter can be used without mayavi as long as plot() is not called, but depending on the digitizer head shape complexity it's not exactly fast.
Activity
agramfort commentedon Jan 12, 2013
glad to see that you found your way with this.
I would first open a PR so we know it's there or publish this on a gist
if it can (not too nested in the mne-python code). At least it does not
get lost.
we'll keep it around and eventually merge if more people ask about this
feature.
nice !
mluessi commentedon Jan 12, 2013
Nice +1 for a PR.
I think it would be great to have a fitting function which could also be used without the GUI. This would e.g. be useful for realtime processing.
christianbrodbeck commentedon Jan 13, 2013
I added a WIP PR: #379
@mluessi
Do you need a scaled MRI for that, or merely the head => mri transform? The new mne.transforms.coreg.MriHeadFitter can be used without mayavi as long as plot() is not called, but depending on the digitizer head shape complexity it's not exactly fast.