Kalman Filter

SpatiotemporalGPs.KalmanFilter.KFStateType
KFState{V, MU}

A type for the Kalman Filter State, which is parameterized by the types of the mean estimate and the upper triangular cholesky component of the covariance matrix.

source
SpatiotemporalGPs.KalmanFilter.KFStateMethod
KFState(; μ, Σ, make_symmetric=true)

A constructor for the Kalman Filter State, which is parameterized by the mean estimate and the covariance matrix. If make_symmetric is true, the covariance matrix is made symmetric internally. This is useful for numerical stability.

source
LinearAlgebra.choleskyMethod
M = cholesky(M::Cholesky)

This is a dummy method to allow for the cholesky method to be called on a cholesky decomposition.

source
SpatiotemporalGPs.KalmanFilter.diagMethod
diag(M::Cholesky)

is a fast method for getting the diagonal of a cholesky matrix.

This will eventually be included into the Julia standard library. https://github.com/JuliaLang/julia/pull/53767

source
SpatiotemporalGPs.KalmanFilter.filterMethod
s_{k+1} = filter(s_k, y_{k+1}, u_k, A, B, C, V, W)

Runs both the prediction and the correction steps. Assumes a system model

\[ \begin{align} x_{k+1} &= A x_k + B u_k + w, \\ y_k &= C x_k + v \end{align}\]

where $w ∼ \mathcal{N}(0, W)$, $v ∼ \mathcal{N}(0, V)$.

source