Searched refs:envelope (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/base/sensors/sensor/vibration_convert/core/algorithm/peak_finder/src/ |
H A D | peak_finder.cpp | 53 size_t envelopSize = envelope.size(); in ExtractValues() 60 values.push_back(envelope[idxs[i]]); in ExtractValues() 251 peakValue.push_back(envelope[peakPoint[i]]); in FilterLowPeak() 403 … auto iter = std::min_element((envelope.begin() + startIndex), (envelope.begin() + endindex)); in DetectValley() 404 valleyPos = iter - envelope.begin(); in DetectValley() 413 … auto iter = std::min_element((envelope.begin() + startIndex), (envelope.begin() + endindex)); in DetectValley() 414 valleyPos = iter - envelope.begin(); in DetectValley() 433 if (envelope.empty() || envelope.size() <= 1) { in DetectPeak() 438 for (size_t i = 0; i < (envelope.size() - 1); i++) { in DetectPeak() 439 gradientEnvelope.push_back(envelope[i+1] - envelope[i]); in DetectPeak() [all …]
|
/ohos5.0/base/sensors/sensor/vibration_convert/core/algorithm/peak_finder/include/ |
H A D | peak_finder.h | 116 std::vector<int32_t> DetectPeak(const std::vector<double> &envelope, double peakThreshold); 137 …bool GetDeleteFlagOfPeak(const std::vector<double> &envelope, int32_t peakIndex, int32_t valleyInd… 139 …std::vector<double> ExtractValues(const std::vector<double> &envelope, const std::vector<int32_t> … 148 std::vector<int32_t> FilterLowPeak(const std::vector<double> &envelope, 152 std::vector<int32_t> FilterSecondaryPeak(const std::vector<double> &envelope, 154 int32_t DeletePeaks(const std::vector<double> &envelope, int32_t startPos, int32_t endPos, 156 int32_t DetectValley(const std::vector<double> &envelope, int32_t startPos, int32_t endPos, 159 … double GetLowestPeakValue(const std::vector<double> &envelope, const std::vector<int32_t> &peaks);
|
/ohos5.0/base/sensors/sensor/vibration_convert/core/native/src/ |
H A D | vibration_convert_core.cpp | 353 std::vector<double> envelope = data; in GetLocalEnvelope() local 354 for (auto &elem : envelope) { in GetLocalEnvelope() 357 double threshold = COEF * (*std::max_element(envelope.begin(), envelope.end())); in GetLocalEnvelope() 358 for (auto &elem : envelope) { in GetLocalEnvelope() 363 size_t dataSize = envelope.size(); in GetLocalEnvelope() 374 return envelope; in GetLocalEnvelope() 382 if (envelope.empty()) { in IsIncludeContinuoustEvent() 386 size_t envelopeSize = envelope.size(); in IsIncludeContinuoustEvent() 726 for (auto &elem : envelope) { in GetUnzeroCount() 732 size_t envelopeSize = envelope.size(); in GetUnzeroCount() [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-basic-services-kit/ |
H A D | js-apis-print.md | 822 | PAGE_INT_DL_ENVELOPE | 10 | International envelope DL.|
|
/ohos5.0/docs/en/application-dev/reference/apis-telephony-kit/ |
H A D | js-apis-sim-sys.md | 2886 Sends an envelope command to the SIM card in the specified slot. This API uses an asynchronous call… 2933 Sends an envelope command to the SIM card in the specified slot. This API uses a promise to return …
|