what's the numpy equivalent of the following function:
def customized_mirror(in_array):
out_array = np.zeros((N, N, N))
for idx in range(N):
out_array[:, :, idx] = in_array[:, :, N-1-idx]
return out_array
I've tried all combinations of np.flip and did not get the expected, mirrored array.