====SMOOTH==== ===Parameters=== ^Order^Name^Type^Desc^ |1|a|[[point list|point list]]|A list of points that have history| |2|b|[[const]]|The number of samples to smooth| ===Returns=== Returns a [[point list|point list]] where the values have been //smoothed// (a rolling average has been applied) to help highlight the base trends below noisy data. ===Description=== This function is used to perform a rolling average on a set of points that have history (ie. from a call to [[fGETHISTORY]]). Note that this function takes a number of **samples** rather than an amount of time. This may cause unintended artifacts if your data has erratic timing. The constant parameter chooses how many samples are used in smoothing. For instance, a value of '7' will average the value at each point with the three samples from the immediate past, and three from the immediate future. ===See Also=== [[fTORATE]]