Class PowerSpectralDensity
Inheritance
PowerSpectralDensity
Assembly: AudioAnalysisTools.dll
public static class PowerSpectralDensity
Methods
|
Improve this Doc
View Source
Square the FFT coefficients >> this gives an energy spectrogram.
MatrixTools.SquareValues is doing the same!.
Declaration
public static double[, ] GetEnergyValues(double[, ] fftCoefficients)
Parameters
Type |
Name |
Description |
Double[,] |
fftCoefficients |
|
Returns
|
Improve this Doc
View Source
Take average of the energy values in each frequency bin to obtain power spectrum or PSD.
SpectrogramTools.CalculateAvgSpectrumFromEnergySpectrogram is doing the same!.
Declaration
public static double[] GetPowerSpectrum(double[, ] energySpectrogram)
Parameters
Type |
Name |
Description |
Double[,] |
energySpectrogram |
|
Returns