OptionalhuberOutlier threshold, in standard deviations of the prediction error. An observation further out than this updates the state with a weight that falls with its distance, so it cannot pull the state far. 2 to 3 is typical. inf, the default, is the ordinary Kalman update. Must be positive.
OptionalinitialStarting state estimate x_0, used before the first observation.
OptionalinitialVariance P_0 of the starting state. A large value such as 1e9 makes the filter forget the initial state quickly. inf is a diffuse prior, so the first observation sets the state, with the observation variance.
OptionalobservationVariance of the measurement noise. Must be positive.
OptionalprocessVariance of the random-walk innovation. Larger values make the filter follow new measurements more closely, with a noisier output.
The settings of KalmanFilter by name, for
KalmanFilter({ ... }).