mne.
setup_volume_source_space
(subject=None, fname=None, pos=5.0, mri=None, sphere=(0.0, 0.0, 0.0, 90.0), bem=None, surface=None, mindist=5.0, exclude=0.0, overwrite=None, subjects_dir=None, volume_label=None, add_interpolator=True, verbose=None)[source]¶Set up a volume source space with grid spacing or discrete source space.
Parameters: | subject : str | None
fname : str | None
pos : float | dict
mri : str | None
sphere : array_like (length 4)
bem : str | None
surface : str | dict | None
mindist : float
exclude : float
overwrite: bool
subjects_dir : string, or None
volume_label : str | list | None
add_interpolator : bool
verbose : bool, str, int, or None
|
---|---|
Returns: | src : list
|
See also
Notes
To create a discrete source space, pos must be a dict, ‘mri’ must be None, and ‘volume_label’ must be None. To create a whole brain volume source space, pos must be a float and ‘mri’ must be provided. To create a volume source space from label, ‘pos’ must be a float, ‘volume_label’ must be provided, and ‘mri’ must refer to a .mgh or .mgz file with values corresponding to the freesurfer lookup-table (typically aseg.mgz).