shape_compatible#

Window.shape_compatible(shape: Tuple[int]) bool[source]#

Return whether the window shape is compatible with another shape.

Parameters:
shape

Shape of data to apply window to.

Returns:
is_compatible

Whether the window shape is compatible with another shape.