Vector Optimized Library of Kernels  3.0.0
Architecture-tuned implementations of math kernels

Overview

Calculates the log10 power value for each input point.

Dispatcher Prototype

void volk_32fc_s32f_power_spectrum_32f(float* logPowerOutput, const lv_32fc_t*
complexFFTInput, const float normalizationFactor, unsigned int num_points)
float complex lv_32fc_t
Definition: volk_complex.h:74

Inputs

  • complexFFTInput The complex data output from the FFT point.
  • normalizationFactor: This value is divided against all the input values before the power is calculated.
  • num_points: The number of fft data points.

Outputs

  • logPowerOutput: The 10.0 * log10(r*r + i*i) for each data point.

Example

int N = 10000;
volk_32fc_s32f_power_spectrum_32f();
VOLK_API void volk_free(void *aptr)
Free's memory allocated by volk_malloc.
Definition: volk_malloc.c:80