eelbrain.set_parc¶
-
eelbrain.
set_parc
(ndvar, parc, dim='source')¶ Change the parcellation of an
NDVar
with SourceSpace dimensionParameters: - ndvar : NDVar
NDVar with SourceSpace dimension.
- parc : None | str | Factor
Parcellation to identify source space vertex locations. Can be specified as Factor assigning a label to each source, or a string specifying a FreeSurfer parcellation (stored as
*.annot
files with the MRI).- dim : str
Name of the dimension to operate on (usually ‘source’, the default).
Returns: - out_ndvar : NDVar
Shallow copy of
ndvar
with the source space parcellation set toparc
.