Interpolation
Interpolation “fills in the blanks” between known data points in a data set. The scipy.interpolate
function interpolates a function based on experimental data. The
interp1d
class can create a linear or cubic interpolation function. By default a linear interpolation function is constructed, but if the kind
parameter is set, a cubic interpolation function is created instead. The
interp2d
class works the same way, but in 2D.