GNU Radio Manual and C++ API Reference  3.7.7
The Free & Open Software Radio Ecosystem
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages

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)

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