| Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
| Version 1.9 Build 1556 |
|
| Package | utility | |
| Module | fitting | |
| Tool | functionfitter |
| method | in | The method type | |
| Allowed: | String (case insensitive) from 'median' or 'mean' | ||
| Default: | 'median' | ||
| width | in | Width of running median filter | |
| Allowed: | Positive integer | ||
| Default: | 5 points | ||
| progress | in | See progress reports on median filter every progress points | |
| Allowed: | Positive integer | ||
| Default: | No reports | ||
This function running-filters the current data array with a variety of kernels over the specified width. The current data are replaced by the filtered data.
include 'functionfitter.g' ff := functionfitter() ff.setdata (x, y) # Data assumed 'pre-made' ff.filter(method='median', width=10) # Replace with filtered data