foscat.Spline1D# Classes# Spline1D Module Contents# class foscat.Spline1D.Spline1D(nodes, degree=3)[source]# degree = 3# nodes# cubic_spline_function(x)[source]# Evaluate the cubic spline basis function. Args:x (float or array): Input value(s) to evaluate the spline basis function. Returns:float or array: Result of the cubic spline basis function. eval(x)[source]# Compute a 3rd-degree cubic spline with 4-point support. Args:x (float or array): Input value(s) to compute the spline. Returns:indices (array): Indices of the spline support points. coefficients (array): Normalized spline coefficients.