eelbrain.Case.intersect

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

Create a Dimension that is the intersection with dim

Parameters:
dim : Dimension

Dimension to intersect with.

check_dims : bool

Check dimensions for consistency (not applicaple).

Returns:
intersection : Dimension

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