Thanks! The BSpline CF probably what I was looking for.
The value of that CF however follows the data not very closely.
I'm setting up the CF like this:
Code:
spline = BSpline(n, B_list, mu_list)
mu_cf = spline(B_cf)
I put the output value of that CF for different orders compared to the interpolation data in the attachments. Order 1 is mapping the the data in a acceptable way but since I need to differentiate this cf order 1 is out of question.
Is there a way of making the CF just interpolate the data or something else to make this work?
Best regards
Nils
Data: blue dots
BSpline result: red dashed line
Order n=1
Order n=2
Order n=3