Skip to content

Interpolation methods

Gerardo López-Saldaña edited this page Nov 6, 2019 · 1 revision

Interpolation methods in TATSSI

xarray

TATSSI stores the time series objext in a Python xarray, xarrays allows differnt interpolation methods using the interpolate_na class method.

  • When the interpolation is linear xarray uses the numpy interpolation linear method

  • For all other interpolation methods xarray uses SciPy

  • For nearest, zero, slinear, quadratic, cubic xarray uses the inter1d class method.

  • For krog, pchip, spline, and akima xarray uses the corresponding scipy.interpolate class method:

  • For quadratic or cubic xarray will use the interp1d class method as well.

Clone this wiki locally