cortex.segment.fix_pia

cortex.segment.fix_pia(subject)[source]

Initializes an interface to make pial surface edits. This function will open two windows – a tkmedit window that makse 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