Home
last modified time | relevance | path

Searched refs:peakEnvelope (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/base/sensors/sensor/vibration_convert/core/algorithm/peak_finder/src/
H A Dpeak_finder.cpp519 std::vector<double> peakEnvelope; in GetPeakEnvelope() local
526 peakEnvelope.push_back(*it); in GetPeakEnvelope()
530 std::vector<int32_t> peakAllIdx = DetectPeak(peakEnvelope, REMOVE_RATIO); in GetPeakEnvelope()
533 peakAllIdx = FilterLowPeak(peakEnvelope, peakAllIdx, REMOVE_RATIO); in GetPeakEnvelope()
534 std::vector<double> extractValues = ExtractValues(peakEnvelope, peakAllIdx); in GetPeakEnvelope()
538 std::vector<int32_t> ampPeakBigIdx = FilterSecondaryPeak(peakEnvelope, peakAllIdx, lowerAmp); in GetPeakEnvelope()
543 peakDetection.ampPeakEnvelope = peakEnvelope; in GetPeakEnvelope()