[][src]Function filter::gh::benedict_bornder_constants

pub fn benedict_bornder_constants<T: Float>(g: T, critical: bool) -> (T, T)

Computes the g,h constants for a Benedict-Bornder filter, which minimizes transient errors for a g-h filter. Returns the values g,h for a specified g. Strictly speaking, only h is computed, g is returned unchanged. The default formula for the Benedict-Bordner allows ringing. We can "nearly" critically damp it; ringing will be reduced, but not entirely eliminated at the cost of reduced performance.

References

  • Brookner, "Tracking and Kalman Filters Made Easy". John Wiley and Sons, 1998.