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

TypeNameDefaultDescription
Booleancontinuous (from PartialInterpolator)false=true if interpolation is continuous, otherwise discontinuous
IntegernFuture (from PartialInterpolator)0Number of buffer values required in the future (=0 for causal filters)
IntegernPast (from PartialInterpolator)0Number of buffer values required in the past
RealvarianceFactor (from PartialInterpolator)1The factor by which the variance will be scaled, if this interpolation is used
Integersmoothness (from PartialInterpolator)0The smoothness of the interpolation. =0: continuous, =1: continuous and differentiable, ...
RealsuggestedSamplePeriod (from PartialInterpolatorWithKernel)0The 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

NameDescription
interpolateInterpolates the buffer using a kernel on a pre-tabulated fixed grid
der_interpolateInterpolates the buffer using a kernel on a pre-tabulated fixed grid