Predefined drift functions for csi_model
objects.
drift_linear(phi, dt, N)
drift_none(phi, dt, N)
drift_quadratic(phi, dt, N)
Models inheriting from the csi_model
base class must specify a drift function having argument signature function(phi, dt, N)
and returning an N x n_drift
matrix of drift basis functions for the trajectory increments (as opposed to the original positions). The predefined drift functions provided here can account for linear drift, quadratic drift, or no drift at all.