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 divided by the RBW for each input point.

Dispatcher Prototype

void volk_32fc_s32f_x2_power_spectral_density_32f(float* logPowerOutput, const lv_32fc_t* complexFFTInput, const float normalizationFactor, const float rbw, 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.
  • rbw: The resolution bandwith of the fft spectrum
  • num_points: The number of fft data points.

Outputs

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

Example