workflows.smri.freesurfer.bem¶
create_bem_flow()
¶
- Uses MNE’s Watershed algorithm to create Boundary Element Meshes (BEM)
- for a subject’s brain, inner/outer skull, and skin. The surfaces are returned in the desired (by default, stereolithic .stl) format.
Example¶
>>> from nipype.workflows.smri.freesurfer import create_bem_flow
>>> bemflow = create_bem_flow()
>>> bemflow.inputs.inputspec.subject_id = 'subj1'
>>> bemflow.inputs.inputspec.subjects_dir = '.'
>>> bemflow.run()
Inputs:
inputspec.subject_id : freesurfer subject id
inputspec.subjects_dir : freesurfer subjects directory
Outputs:
outputspec.meshes : output boundary element meshes in (by default) stereolithographic (.stl) format