Interpolation

Interpolation of data can be done with several algorithm:

  • linear

  • polynomial (if number of data points < 100)

  • cubic spline

  • cubic spline (periodic)

  • Akima spline

  • Akima spline (periodic)

  • Steffen spline (needs GSL ≥ 2.0)

  • cosine

  • exponential

  • piecewise cubic Hermite (finite differences, Catmull-Rom, cardinal, Kochanek-Bartels)

  • rational functions

The interpolating function is calculated with the given number n of data points and evaluated as:

  • function

  • derivative

  • second derivative

  • integral (starting from zero)