Skip to content

Commit

Permalink
cleaning the code and notes
Browse files Browse the repository at this point in the history
  • Loading branch information
mkholghi committed Aug 1, 2018
1 parent 9bf06be commit a79bbdc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/AudioAnalysisTools/DSP/PowerSpectralDensity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ public static class PowerSpectralDensity
{
/// <summary>
/// Square the FFT coefficients >> this gives an energy spectrogram.
/// MatrixTools.SquareValues is doing the same!
/// </summary>
public static double[,] GetEnergyValues(double[,] fftCoefficients)
{
Expand All @@ -34,6 +35,7 @@ public static class PowerSpectralDensity

/// <summary>
/// Take average of the energy values in each frequency bin to obtain power spectrum or PSD.
/// SpectrogramTools.CalculateAvgSpectrumFromEnergySpectrogram is doing the same!
/// </summary>
public static double[] GetPowerSpectrum(double[,] energySpectrogram)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ public class KmeansClusteringTests
private DirectoryInfo outputDirectory;

[TestInitialize]

public void Setup()
{
this.outputDirectory = PathHelper.GetTempDir();
Expand Down

0 comments on commit a79bbdc

Please sign in to comment.