eelbrain.VolumeSourceSpace.index_for_label

VolumeSourceSpace.index_for_label(self, label)

Return the index for a label

Parameters:
label : str | sequance of str

One or several names of regions in the current parcellation.

Returns:
index : NDVar of bool

Index into the source space dim that corresponds to the label.