basis_function_from_name#
- splinebox.basis_functions.basis_function_from_name(name, **kwargs)#
Returns a basis function object based on the name of the basis function.
Parameters#
- namestr
The name of the basis function, e.g. ‘B1’, ‘ExponentialHermite’, …
- kwargs
Additional keyword arguments that might be required to create some basis functions, such as M (i.e. the number of knots/control points) for Exponential basis functions.
Returns#
- basis_functionObject of one of the subcases of
splinebox.basis_functions.BasisFunction. The basis function object required for the construction of a spline.