Back in the day I used to use and love Shake. (Getting old here) One of its finest things was how you could use splines in expressions.
Can't remember the exact syntax but it went something like this:
Y= Spline( X , Yvalue@Xvalue , Yvalue@Xvalue , Yvalue@Xvalue, ... ... Yvalue@Xvalue)
it created a spline using the datapoints defined by the Yvalues and Xvalues and did a lookup using the "X" to get the Y value. (there where versions of the spline function that did different interpolation types. Some had handles on each knot and so on.)
It was very powerful. Especially if you went recursive and used another spline as one of the "Yvalues"
I want to do something similar in Natron.
There is something out there called SciPy that seem to fit the bill. But I have no Idea if it can be loaded into Natron.
I think I need to get this baby loaded somehow:
I'm new to Python so please be gentle