eelbrain.Space

class eelbrain.Space(directions, name='space')

Represent multiple directions in space

Parameters:
directions : str

A sequence of directions, each indicated by a single capitalized character, from the following set: [A]nterior, [P]osterior, [L]eft, [R]ight, [S]uperior and [I]nferior.

name : str

Dimension name.

Notes

Connectivity is set to 'none', but Space is not a valid dimension to treat as mass-univariate.

Methods

connectivity(self) Retrieve the dimension’s connectivity graph
dimindex(self, arg) Convert a dimension index to an array index
index_into_dim(self, dim) Index into a subset dimension
intersect(self, dim[, check_dims]) Create a dimension object that is the intersection with dim