Hi, I would like to extract “interior” part of an array A_int=A[h:end-h,h:end-h,...]
where I don’t know how many axes A
have. What is the correct syntax for this purpose?
One way is A[map(axis->axis[begin+h:end-h], axes(A))...]
1 Like