SignalUtils.ConsistentParameterFilter Method

Overload List

#SignatureDescription
1Boolean ConsistentParameterFilter(Boolean Param, Double TimeSpanSeconds, ref TConsistentParam State)Param can be boolean.
2Boolean ConsistentParameterFilter(Double Param, Double TimeSpanSeconds, ref TConsistentParam State)Filter data with a "consistent parameter" filter.

Overload 1: Boolean ConsistentParameterFilter(Boolean Param, Double TimeSpanSeconds, ref TConsistentParam State)

Param can be boolean.

#NameTypeDescription
1ParamBoolean
2TimeSpanSecondsDoublescalar
3StateTConsistentParam (ref)

Returns: Boolean

See Also: SignalUtils.ConsistentParameterInit, SignalUtils.SampleAndDecayFilter

Overload 2: Boolean ConsistentParameterFilter(Double Param, Double TimeSpanSeconds, ref TConsistentParam State)

Filter data with a "consistent parameter" filter.

#NameTypeDescription
1ParamDoublescalar
2TimeSpanSecondsDoublescalar
3StateTConsistentParam (ref)

Returns: Boolean

Remarks:

Consistent parameter filter is a non-linear filter, that will return false once and reset the timer, if the Param value changes before TimeSpanSeconds has passed.