packageRailZeroPhaseInterpolator

Provides a filter function for rail irregularities (zero phase)

Extends from Interpolators.FixedGridStepResponse (A filter using a tabulated step response on a fixed grid for efficiency reasons).

Information

This package provides a filter function for rail irregularities (zero phase).

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])})

Revisions

DLR logo Copyright © DLR Institute of System Dynamics and Control
Initial version implemented by A. Klöckner, F. v.d. Linden, D. Zimmer, M. Otter.
DLR Institute of System Dynamics and Control