fourier_interpnd

image_registration.fft_tools.scale.fourier_interpnd(data, outinds, nthreads=1, use_numpy_fft=False, return_real=True)[source]

Use the fourier scaling theorem to interpolate (or extrapolate, without raising any exceptions) data. * DOES NOT WORK FOR ANY BUT 2 DIMENSIONS *

Parameters:
datandarray

The data values of the array to interpolate

outindsndarray

The coordinate axis values along which the data should be interpolated CAN BE ndim x [n,m,...] like np.indices OR (less memory intensive, more processor intensive) ([n],[m],...)