packageFixedGridStepResponse
A filter using a tabulated step response on a fixed grid for efficiency reasons
Extends from TabulatedStepResponse (A generic filter using a tabulated step response).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | continuous (from PartialInterpolator) | false | =true if interpolation is continuous, otherwise discontinuous |
| Integer | nFuture (from PartialInterpolator) | 0 | Number of buffer values required in the future (=0 for causal filters) |
| Integer | nPast (from PartialInterpolator) | 0 | Number of buffer values required in the past |
| Real | varianceFactor (from PartialInterpolator) | 1 | The factor by which the variance will be scaled, if this interpolation is used |
| Integer | smoothness (from PartialInterpolator) | 0 | The smoothness of the interpolation. =0: continuous, =1: continuous and differentiable, ... |
| Real | suggestedSamplePeriod (from PartialInterpolatorWithKernel) | 0 | The appropriate sample period for this filter |
| Real[:] | T (from TabulatedStepResponse) | linspace(0, 0.2, 101) | Time vector |
| Real[:] | step (from TabulatedStepResponse) | FirstOrder.kernel(T) | Step response data |
| Real[:] | dstep (from TabulatedStepResponse) | cat(1, {(step[2] - step[1])/(T[2] - T[1])}, (step[3:size(T, 1)] - step[1:size(T, 1) - 2])./(T[3:size(T, 1)] - T[1:size(T, 1) - 2]), {(step[end] - step[end - 1])/(T[end] - T[end - 1])}) |
Contents
| Name | Description |
|---|---|
| Interpolates the buffer using a kernel on a pre-tabulated fixed grid | |
| Interpolates the buffer using a kernel on a pre-tabulated fixed grid |