SplineInterpolation#

class skfda.representation.interpolation.SplineInterpolation(interpolation_order=1, *, monotone=False)[source]#

Spline interpolation.

Spline interpolation of discretized functional objects. Implements different interpolation methods based in splines, using the sample points of the grid as nodes to interpolate.

See the interpolation example to a detailled explanation.

Attributes:
  • interpolation_order (int, optional) – Order of the interpolation, 1 for linear interpolation, 2 for cuadratic, 3 for cubic and so on. In case of curves and surfaces there is available interpolation up to degree 5. For higher dimensional objects only linear or nearest interpolation is available. Default lineal interpolation.

  • smoothness_parameter (float, optional) – Penalisation to perform smoothness interpolation. Option only available for curves and surfaces. If 0 the residuals of the interpolation will be 0. Defaults 0.

  • monotone (boolean, optional) – Performs monotone interpolation in curves using a PCHIP interpolator. Only valid for curves (domain dimension equal to 1) and interpolation order equal to 1 or 3. Defaults false.

Parameters:
  • interpolation_order (int) –

  • monotone (bool) –

Methods

Examples using skfda.representation.interpolation.SplineInterpolation#

Elastic registration

Elastic registration

Interpolation

Interpolation

Representation of functional data

Representation of functional data