Home
last modified time | relevance | path

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

/ohos5.0/base/sensors/sensor/vibration_convert/core/algorithm/peak_finder/src/
H A Dpeak_finder.cpp538 std::vector<int32_t> ampPeakBigIdx = FilterSecondaryPeak(peakEnvelope, peakAllIdx, lowerAmp); in GetPeakEnvelope() local
539 if (ampPeakBigIdx.empty()) { in GetPeakEnvelope()
547 for (i = 0; i < ampPeakBigIdx.size(); i++) { in GetPeakEnvelope()
548 if (ampPeakBigIdx[i] >= peakEnvelopeIdx.size()) { in GetPeakEnvelope()
551 ampPeakAct.push_back(peakEnvelopeIdx[ampPeakBigIdx[i]]); in GetPeakEnvelope()