Filtering Module
Functions and values
| Function or value | Description |
Full Usage:
correlateValid kernel signal
Parameters:
Vector<float>
-
Vector of length K (FIR filter, etc.).
signal : Vector<float>
-
Vector of length N.
Returns: float[]
An array of length max(1, N-K+1) with the "valid" correlation result. Typically used for FIR filtering.
|
|
Full Usage:
optimizeWindowWidth polOrder windowWidthToTest blankSignal signalOfInterest
Parameters:
int
-
windowWidthToTest : int[]
-
blankSignal : float[]
-
signalOfInterest : float[]
-
Returns: int
|
Estimates the autocorrelation at lag 1 of a blank signal (containing only noise). Subsequently, the signal of interest is smoothed Method is based on: https://doi.org/10.1021/ac0600196
Example
|
Full Usage:
savitzkyGolay windowSize order deriv rate data
Parameters:
int
-
Must be odd and at least (order+2) if deriving.
order : int
-
Polynomial order (must be >= deriv). A higher order can better fit curvature.
deriv : int
-
Order of derivative to compute (0 => smoothing).
rate : float
-
Scaling factor for derivative, typically sampling rate = 1.0 if no special scale needed.
data : Vector<float>
-
The data vector to filter (length N).
Returns: float[]
A float[] array with the filtered (or derived) signal, of length = data.Length.
|
|
FSharp.Stats