eelbrain.VolumeSourceSpace.index_for_label

VolumeSourceSpace.index_for_label(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 – Index into the source space dim that corresponds to the label.

Return type:

NDVar of bool