Click or drag to resize

KalmanFilter Constructor

Creates a new Kalman filter.

Namespace: GSF.NumericalAnalysis
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.191-beta+925724bd48239ba1d4417fe63f8c4977892ab734
Syntax
public KalmanFilter(
	double processNoise = 1E-05,
	double measurementNoise = 0.001,
	double estimatedError = 1E-05
)
View Source

Parameters

processNoise  Double  (Optional)

Determines how much the system state is expected to change between measurements.

Start with a very small value (e.g., 1e-5) and gradually increase it. Too small a value can make the filter slow to adapt to changes, while too large can make it over-responsive to noise.

measurementNoise  Double  (Optional)

Reflects the confidence in the measurements. A lower value gives more weight to the measurements.

If your measurements are accurate, set R to a small value (e.g., 1e-3). Increase it if the measurements are noisy.

estimatedError  Double  (Optional)

Represents the initial guess about the error in the state estimate.

Start with a value that reflects the expected variability in the initial state.

See Also