Skip to main content

si_deadband_filter

Function si_deadband_filter 

Source
#[unsafe(no_mangle)]
pub extern "C" fn si_deadband_filter( val: f64, center: f64, band: f64, ) -> f64
Expand description

Deadband filter: if val is within band of center, return center. Otherwise return val (pass through).