I have a 3D array and I\'d like to check the values in the neighboring elements of a point . If i.e. the shape of data is (300, 300, 300) and the element of interest is at [x,y,