InterpolationType

class pyMaCh3._pyMaCh3.splines.InterpolationType

Bases: pybind11_object

Members:

Linear : Linear interpolation between the knots

Linear_Func : Same as ‘Linear’

Cubic_TSpline3 : Use same coefficients as ROOT’s TSpline3 implementation

Cubic_Monotonic : Coefficients are calculated such that the segments between knots are forced to be monotonic. The implementation we use is based on this method by Fritsch and Carlson.

Cubic_Akima : The second derivative is not required to be continuous at the knots. This means that these splines are useful if the second derivative is rapidly varying. The implementation we used is based on this paper by Akima.

N_Interpolation_Types : This is only to be used when iterating and is not a valid interpolation type.

Attributes Summary

Cubic_Akima

Cubic_Monotonic

Cubic_TSpline3

Linear

Linear_Func

N_Interpolation_Types

name

value

Attributes Documentation

Cubic_Akima = <InterpolationType.Cubic_Akima: 3>
Cubic_Monotonic = <InterpolationType.Cubic_Monotonic: 2>
Cubic_TSpline3 = <InterpolationType.Cubic_TSpline3: 0>
Linear = <InterpolationType.Linear: 1>
Linear_Func = <InterpolationType.Linear_Func: 4>
N_Interpolation_Types = <InterpolationType.N_Interpolation_Types: 5>
name
value