Searched refs:dropHeight (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/base/sensors/sensor/vibration_convert/core/algorithm/peak_finder/include/ |
H A D | peak_finder.h | 91 double dropHeight { 0.0 }; 99 dropHeight = drop; in DownwardTrendInfo() 187 …int32_t EstimateDesentEnergy(const std::vector<double> &data, double &dropHeight, double &dutyCycl…
|
/ohos5.0/base/sensors/sensor/vibration_convert/core/algorithm/peak_finder/src/ |
H A D | peak_finder.cpp | 581 double dropHeight = 0.0; in EstimateDownwardTrend() local 583 if (EstimateDesentEnergy(partEnvelope, dropHeight, ducyCycle) != Sensors::SUCCESS) { in EstimateDownwardTrend() 587 dropHeight *= HUNDRED_POINT_DESCENT_HEIGHT ; in EstimateDownwardTrend() 588 if (IsLessNotEqual(ducyCycle, DOWN_TREND_MAX) && IsGreatNotEqual(dropHeight, DROP_HIGHT)) { in EstimateDownwardTrend() 593 downwardTrends.push_back(DownwardTrendInfo(isRapidlyDecay, dropHeight, ducyCycle)); in EstimateDownwardTrend() 744 … downwardTrends[0].isRapidlyDecay, downwardTrends[0].dropHeight, downwardTrends[0].ducyCycle); in ObtainTransientByAmplitude() 749 int32_t PeakFinder::EstimateDesentEnergy(const std::vector<double> &data, double &dropHeight, doubl… in EstimateDesentEnergy() argument 769 dropHeight = 0; in EstimateDesentEnergy() 771 dropHeight = blockSum[0] / dataSize; in EstimateDesentEnergy() 773 dropHeight = (blockSum[0] - blockSum[1]) / DESCENT_WNDLEN; in EstimateDesentEnergy()
|