def spline_fitting(x_data, y_data, order): return InterpolatedUnivariateSpline(x_data, y_data, k=order)