Home
last modified time | relevance | path

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

/ohos5.0/base/sensors/sensor/vibration_convert/core/algorithm/peak_finder/src/
H A Dpeak_finder.cpp507 PeaksInfo &peakDetection) in GetPeakEnvelope() argument
543 peakDetection.ampPeakEnvelope = peakEnvelope; in GetPeakEnvelope()
544 peakDetection.ampPeakAllIdx = peakAllIdx; in GetPeakEnvelope()
554 peakDetection.ampPeakIdxs = PeakFilterMinRange(absData, ampPeakAct, PEAKS_MIN_SAMPLE_COUNT); in GetPeakEnvelope()
556 for (i = 0; i < peakDetection.ampPeakIdxs.size(); i++) { in GetPeakEnvelope()
557 peakDetection.ampPeakTimes.push_back(peakDetection.ampPeakIdxs[i] * coef); in GetPeakEnvelope()
722 PeaksInfo peakDetection; in ObtainTransientByAmplitude() local
724 GetPeakEnvelope(data, SAMPLE_RATE, AMPLITUDE_ENVELOPE_HOP_LENGTH, peakDetection); in ObtainTransientByAmplitude()
727 …double ampLowerDalta = GetLowestPeakValue(peakDetection.ampPeakEnvelope, peakDetection.ampPeakAllI… in ObtainTransientByAmplitude()
730 if (GetIsolatedEnvelope(data, peakDetection.ampPeakIdxs, in ObtainTransientByAmplitude()
[all …]
/ohos5.0/base/sensors/sensor/vibration_convert/core/algorithm/peak_finder/include/
H A Dpeak_finder.h161 PeaksInfo &peakDetection);