Goonstation 13 - Modules - Types

code/datums/digital_filter.dm

/datum/digital_filterProvide support for IIR filters to perform all your standard filtering needs! Previous inputs and outputs of the function will be summed together and output
/datum/digital_filter/window_averageSum equally weighted previous inputs of window_size
/datum/digital_filter/exponential_moving_averageSum weighted current input and weighted previous output to achieve output input weight will be ratio of weight assigned to input value while remaining goes to previous output
/datum/pidProvide support for basic PID Controller Allows for dampening an approach to a target value