check_broadcast#
- astropy.utils.shapes.check_broadcast(*shapes: tuple[int, ...]) tuple[int, ...] [source]#
Deprecated since version 7.0: The check_broadcast function is deprecated and may be removed in a future version. Use np.broadcast_shapes instead.
Determines whether two or more Numpy arrays can be broadcast with each other based on their shape tuple alone.