return [arr[tuple((i * corner2Copy + (len(arr) - i - 1) * corner1Copy) / (
    len(arr) - 1))] for i in range(len(arr))]
Get all diagonals (including minor ones) of a multi-dimensional array with numpy