eelbrain.VolumeSourceSpace
- class eelbrain.VolumeSourceSpace(vertices, subject=None, src=None, subjects_dir=None, parc=None, adjacency='custom', name='source', filename='{subject}-{src}-src.fif')
MNE volume source space
- Parameters:
vertices (ArrayLike) – Integer array with vertex identities of the source space.
subject (str) – The mri-subject name.
src (str) – The description of the source space (e.g.
vol-7).subjects_dir (PathArg) – The path to the FreeSurfer subjects-directory (needed to locate the source space file).
parc (str) – Add a parcellation to the source space to identify vertex location.
adjacency ('grid' | 'none' | array of int, (n_edges, 2)) – Adjacency between elements. Set to
"none"for no connections or"grid"to use adjacency in the sequence of elements as connection. Set tonumpy.ndarrayto specify custom adjacency. The array should be of shape (n_edges, 2), and each row should specify one connection [i, j] with i < j, with rows sorted in ascending order. If the array’s dtype is uint32, property checks are disabled to improve efficiency.name (str) – Dimension name (default
"source").filename (str) – Filename template for the MNE source space file.
See also
SourceSpacesurface-based source space
Methods
|
Create source space adjacency |
|
Return an index into all vertices closer than |
|
Convert a dimension index to an array index |
|
SourceSpace dimension from MNE source space file |
|
SourceSpace dimension from |
|
Read the corresponding MNE source space |
|
Return the index for a label |
|
Index into a subset dimension |
|
Create a Source dimension that is the intersection with dim |