xoa.interp.linear1d

xoa.interp.linear1d(vari, yi, yo, eshapes, extrap='no')[source]

Linear interpolation of nD data along an axis with varying coordinates

Warning

nxi must be either a multiple or a divisor of nxo, and multiple of nxiy.

Parameters:
  • vari (array_like(nxi, nyi)) –

  • yi (array_like(nxiy, nyi)) –

  • yo (array_like(nxo, nyo)) –

  • eshapes (array_like(3, ndim-1)) –

Returns:

array_like(nx, nyo) (varo) – With nx=max(nxi, nxo)