.. AUTO-GENERATED FILE -- DO NOT EDIT!

interfaces.mne.base
===================


.. _nipype.interfaces.mne.base.WatershedBEM:


.. index:: WatershedBEM

WatershedBEM
------------

`Link to code <file:///build/nipype-1.1.8/nipype/interfaces/mne/base.py#L81>`__

Wraps the executable command ``mne_watershed_bem``.

Uses mne_watershed_bem to get information from dicom directories

Examples
~~~~~~~~

>>> from nipype.interfaces.mne import WatershedBEM
>>> bem = WatershedBEM()
>>> bem.inputs.subject_id = 'subj1'
>>> bem.inputs.subjects_dir = '.'
>>> bem.cmdline
'mne_watershed_bem --overwrite --subject subj1 --volume T1'
>>> bem.run()                               # doctest: +SKIP

Inputs::

        [Mandatory]
        subject_id: (a unicode string)
                Subject ID (must have a complete Freesurfer directory)
                argument: ``--subject %s``
        subjects_dir: (an existing directory name, nipype default value: )
                Path to Freesurfer subjects directory

        [Optional]
        args: (a unicode string)
                Additional parameters to the command
                argument: ``%s``
        volume: (u'T1' or u'aparc+aseg' or u'aseg' or u'brain' or u'orig' or
                  u'brainmask' or u'ribbon', nipype default value: T1)
                The volume from the "mri" directory to use (defaults to T1)
                argument: ``--volume %s``
        atlas_mode: (a boolean)
                Use atlas mode for registration (default: no rigid alignment)
                argument: ``--atlas``
        environ: (a dictionary with keys which are a newbytes or None or a
                  newstr or None and with values which are a newbytes or None or a
                  newstr or None, nipype default value: {})
                Environment variables
        overwrite: (a boolean, nipype default value: True)
                Overwrites the existing files
                argument: ``--overwrite``

Outputs::

        cor_files: (a list of items which are an existing file name)
                "COR" format files
        outer_skull_surface: (an existing file name)
                Outer skull surface (in Freesurfer format)
        inner_skull_surface: (an existing file name)
                Inner skull surface (in Freesurfer format)
        outer_skin_surface: (an existing file name)
                Outer skin surface (in Freesurfer format)
        fif_file: (an existing file name)
                "fif" format file for EEG processing in MNE
        mesh_files: (a list of items which are an existing file name)
                Paths to the output meshes (brain, inner skull, outer skull, outer
                skin)
        brain_surface: (an existing file name)
                Brain surface (in Freesurfer format)
