Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Basis

The basis module provides tools for representing continuous functions as linear combinations of basis functions or as values at interpolation points. It is useful for smooth function approximation, trajectory modeling, and building factors that constrain functions (or their derivatives) at specific points.

At a high level, you choose a basis (Fourier or Chebyshev), decide whether you want a coefficient-based representation or a pseudo-spectral one (values at Chebyshev points), and then use the provided factors or fitting utilities to solve for parameters in GTSAM.

Getting Oriented

Core Concepts

Polynomial Bases

Pseudo-Spectral Basis

Factors for Basis Evaluation

These factors connect basis parameters to measurements of values or derivatives.

Factors for Derivative Constraints

Fitting from Data