![]() |
Edge AI Add-on API 2.2.0
|
#include <nrf_edgeai/dsp/nrf_dsp_types.h>Go to the source code of this file.
Functions | |
| flt32_t | nrf_dsp_freq_thd_f32 (flt32_t p_amplitude_spectrum[], uint16_t num, uint16_t base_freq_index, uint16_t n_harmonics) |
| Compute Total Harmonic Distortion for provided frequency in floating point spectrum. | |
| int16_t | nrf_dsp_freq_thd_i16 (int16_t p_amplitude_spectrum[], uint16_t num, uint16_t base_freq_index, uint16_t n_harmonics) |
| Compute Total Harmonic Distortion for provided frequency in fixed-point spectrum. | |