Pulse Tachometer class.
tach = PulseTachometer(pulses,t0,dt,level,ppr,nseg)
The PULSETACHOMETER class is derived from the TACHOMETER class. It defines pulse-based tachometers. Instantiating the class processes the supplied tachometer signal, so the results are immediately available. This class performs a cubic spline fit of the time history in segments, which smooths out noisy tach signals. Each spline segment enforces the value and first derivative (slope) to be the same as the adjacent spline, so the resulting spline fit will be continuous.
PULSES is an Nx1 numeric vector containing the time history of the tach signal. Optionally, PULSES has a second column with doppler correction factors.
T0 is the starting time value.
DT is the time increment between time samples.
LEVEL is the level at which the pulse crosses (e.g. zero-crossing).
PPR is the number of pulses per revolution.
NSEG is the number of segments into which to divide the time history for the cubic spline fits.