![]() |
Edge AI Add-on API 2.2.0
|
| int16_t nrf_dsp_scr_i16_s | ( | const int16_t * | p_input, |
| uint16_t | num, | ||
| nrf_dsp_sigma_factor_t | sigma_factor, | ||
| size32_t | stride, | ||
| nrf_dsp_stat_ctx_i16_t * | p_ctx ) |
#include <include/nrf_edgeai/dsp/statistic/nrf_dsp_scr.h>
Counts Sigma-crossing rate with respect to Mean, of 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] | sigma_factor | Sigma multiplier for which the crossing rate will be counted |
| [in] | stride | Vector element offset stride |
| [in,out] | p_ctx | Optional pointer to the statistics context, this function will use p_ctx->value.varfor calculation if it exist |