![]() |
Edge AI Add-on API 2.2.0
|
| int32_t nrf_dsp_pk2pk_lf_i16_s | ( | const int16_t * | p_input, |
| uint16_t | num, | ||
| size32_t | stride, | ||
| size32_t | window_size ) |
#include <include/nrf_edgeai/dsp/statistic/nrf_dsp_pk2pk.h>
Finds Peak-to-Peak amplitude for Low frequency component of signal, represented as a INT16 fixed-point vector, using values in increments of 'stride'.
| [in] | p_input | Pointer to the input vector |
| [in] | num | Number of samples with 'stride' in input vector |
| [in] | stride | Vector element offset stride |
| [in] | window_size | Determines window size for calculation moving average filter sum, window_size affect attenuation for frequencies |