I am very frustrated because I cannot find a solution: I have to do a 3D interpolation in python using a cubic method. The MATLAB equivalent is
Vi = interp3(x,y,z,V,xi,yi,zi,'cubic')
where
x, y, z are 3D arrays in [N x N x N]
V is a 3D array in [N x N x N]
xi, yi, zi are 1D arrays [1 x M]
in my case N=69 and M=120000
Is it possible translate that code from MATLAB to python efficiently?
I tried to use scipy.interpolate.RegularGridInterpolator
but it does not seem to solve my problem, because of the methods implemented and the dimensions of the arrays allowed.