eelbrain.Scalar.intersect

Scalar.intersect(self, dim, check_dims=False)

Create a dimension object that is the intersection with dim

Parameters:
dim : type(self)

Dimension to intersect with.

check_dims : bool

Check dimensions for consistency (not applicaple to this subclass).

Returns:
intersection : type(self)

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