![]() |
Edge AI Add-on API 2.2.0
|
| int16_t nrf_dsp_spectral_spread_i16 | ( | int16_t | p_spectrum[], |
| uint16_t | num, | ||
| nrf_dsp_spectral_ctx_i16_t * | p_ctx ) |
#include <include/nrf_edgeai/dsp/spectral/nrf_dsp_spectral_spread.h>
Calculate Spectral Spread in INT16 fixed-point spectrum.
| [in] | p_spectrum | Pointer to amplitude spectrum vector |
| [in] | num | Number of bins/samples in amplitude spectrum |
| [in,out] | p_ctx | Pointer to optional spectral context, the calculated value of magnitude_sum and cetroid will be used |