screamer.js
    Preparing search index...

    Interface KalmanFilterOptions

    The settings of KalmanFilter by name, for KalmanFilter({ ... }).

    interface KalmanFilterOptions {
        huber?: number;
        initialState?: number;
        initialVariance?: number;
        observationVar?: number;
        processVar?: number;
    }
    Index
    huber?: number

    Outlier 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.

    Infinity

    initialState?: number

    Starting state estimate x_0, used before the first observation.

    0.0

    initialVariance?: number

    Variance 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.

    1.0

    observationVar?: number

    Variance of the measurement noise. Must be positive.

    1.0

    processVar?: number

    Variance of the random-walk innovation. Larger values make the filter follow new measurements more closely, with a noisier output.

    0.01