Class SpectralIndexValues
Inheritance
SpectralIndexValues
Assembly: AudioAnalysisTools.dll
public class SpectralIndexValues : SpectralIndexBase, IComparable<ResultBase>, IComparable
Constructors
|
Improve this Doc
View Source
Declaration
public SpectralIndexValues()
|
Improve this Doc
View Source
Declaration
public SpectralIndexValues(int spectrumLength, Dictionary<string, IndexProperties> indexProperties, IndexCalculateConfig configuration)
Parameters
Properties
|
Improve this Doc
View Source
Declaration
public double[] ACI { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public double[] BGN { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public static Dictionary<string, Func<SpectralIndexBase, double[]>> CachedSelectors { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public static Dictionary<string, Action<SpectralIndexValues, double[]>> CachedSetters { get; }
Property Value
|
Improve this Doc
View Source
Gets the configuration used to generate these results.
Declaration
public IndexCalculateConfig Configuration { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public double[] CVR { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public double[] DIF { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public double[] ENT { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public double[] EVN { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public static string[] Keys { get; }
Property Value
|
Improve this Doc
View Source
Gets or sets the oscillation spectral index index. Created October 2018.
6.
Declaration
public double[] OSC { get; set; }
Property Value
|
Improve this Doc
View Source
Gets or sets PMN = Power Minus Noise.
7: PMN is measured in decibels but should replace POW as the average decibel spectrogram.
Declaration
public double[] PMN { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public double[] RHZ { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public double[] RNG { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public double[] RPS { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public double[] RVT { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public double[] SPT { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public double[] SUM { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
Used to check that the keys in the indexProperties dictionary correspond to Properties in the SpectralIndexValues class.
Call this method before entering a loop because do not want the error message at every iteration through loop.
Declaration
public static void CheckExistenceOfSpectralIndexValues(Dictionary<string, IndexProperties> indexProperties)
Parameters
|
Improve this Doc
View Source
Declaration
public static Image<Rgb24> CreateImageOfSpectralIndices(SpectralIndexValues spectralIndices)
Parameters
Returns
Type |
Description |
SixLabors.ImageSharp.Image<SixLabors.ImageSharp.PixelFormats.Rgb24> |
|
|
Improve this Doc
View Source
Declaration
public override Dictionary<string, Func<SpectralIndexBase, double[]>> GetSelectors()
Returns
Overrides
|
Improve this Doc
View Source
Imports a dictionary of spectra.
Assumes CheckExistenceOfSpectralIndexValues
has already been called.
Assumes frequency component is in fist index (i.e. frequency is rows) and time in second index (time is columns).
Declaration
public static SpectralIndexValues[] ImportFromDictionary(Dictionary<string, double[, ]> dictionaryOfSpectra)
Parameters
Type |
Name |
Description |
Dictionary<String, Double[,]> |
dictionaryOfSpectra |
The dictionary to convert to spectral index base.
|
Returns
Implements
Extension Methods