eelbrain.Space.intersect

Space.intersect(self, dim, check_dims=True)

Create a dimension object that is the intersection with dim

Parameters:
dim : Space

Dimension to intersect with.

check_dims : bool

Check dimensions for consistency.

Returns:
intersection : Space

The intersection with dim (returns itself if dim and self are equal)