centered# centered(arr, new_shape)[source]# Extract the centered portion of an array based on a new shape. Parameters: arrBackendArrayInput data. new_shapetuple of intsDesired shape for the central portion. Returns: BackendArrayCentral portion of the array with shape new_shape. References [1] scipy/scipy