vtools.functions.interpolate

Module for data interpolation using splines or interfaces unavailable in Pandas.

Functions

_ratsp1(x, y, p, q, y0, yn)

RATSP1 in Spath (1995)

example()

interpolate_to_index(df, dest)

monotonic_spline(ts, dest)

Interpolating a regular time series (rts) to a finer rts by rational histospline.

rhist(x, y, xnew, y0, yn, p, q)

Histopline for arrays with tension.

rhist_bound(x, y, xnew, y0, yn, p[, lbound, ...])

Numpy implementation of histospline with bounds Histopline for arrays with lower bound enforcement.

rhist_coef(x, y, y0, yn, p, q)

Routine that produces coefficients for the histospline

rhist_val(xnew, x, p, q, a, b, c)

Evaluate a histospline at new x points

rhistinterp(ts, dest[, p, lowbound, ...])

Interpolate a regular time series (rts) to a finer rts by rational histospline.

tridiagonal(a, b, c, d)

a is the lower band (with leading zero) b is the center diagonal (length == nrow) c is upper band (trailing zero) d is right hand side