API#

SplineBox is organized into two primary modules. The first module contains the Spline class and related functions for creating and manipulating spline objects. The second module is a collection of basis functions, which are essential for generating various types of splines.

While these modules provide clear organization within the library, all components are also accessible using a unified namespace. For instance, you can improve the readability of your code by using splinebox.X instead of using the specific module path like splinebox.basis_functions.X or splinebox.spline_curves.X.

splinebox.basis_functions

This module provides a collection of basis function classes, each designed for constructing a specific type of spline.

splinebox.spline_curves

This module provides the classes necessary for constructing splines, along with all the methods required for spline fitting and inference.