TSignalAnalyzer::ZeroCrossing Method

void ZeroCrossing(double &Pos, double &y);

Compute the position of the zero crossing. The initial position in seconds is given with pos and the final position is returned with the Pos parameter. y contains the final value of the time signal. In ideal case it should be zero. The method will use linear interpolation to locate the position of the zero.

#NameTypeDescription
1Posdouble &
2ydouble &
Declared in Dew::Signal::TSignalAnalyzer · Dew.Signal/SignalAnalysis.h · Cross-compiler