Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
Package | utility | |
Module | mathematics | |
Tool | datafilter |
data | in | Input numeric data array | |
Allowed: | Numeric Glish vector | ||
width | in | Width of running median filter | |
Allowed: | Positive integer | ||
Default: | 5 points | ||
method | in | The method type | |
Allowed: | String (case insensitive) from 'median' or 'mean' | ||
Default: | 'median' | ||
progress | in | See progress reports on median filter every progress points | |
Allowed: | Positive integer | ||
Default: | No reports |
This function running-filters a data array with a variety of kernels over the specified width. It returns the filtered data vector.
As yet, input masks are not handled.
- include 'datafilter.g' - df := datafilter() - d2 := df.filter(d, method='median', width=10) # Data array 'd' assumed pre-made