cortex.segment.fix_wm

cortex.segment.fix_wm(subject)[source]

Initializes an interface to make white matter edits to the surface. This will open two windows – a tkmedit window that makes the actual edits, as well as a mayavi window to display the surface. Clicking on the mayavi window will drop markers which can be loaded using the “Goto Save Point” button in tkmedit.

If you wish to load the other hemisphere, simply close the mayavi window and the other hemisphere will pop up. Mayavi will stop popping up once the tkmedit window is closed.

Once the tkmedit window is closed, a variety of autorecon options are available. When autorecon finishes, the new surfaces are immediately imported into the pycortex database.

Parameters:
subjectstr

Name of the subject to edit