Class EventStatistics
The data class that holds event statistics.
Inheritance
EventStatistics
Assembly: AudioAnalysisTools.dll
public class EventStatistics : EventBase, IComparable<ResultBase>, IComparable
Constructors
|
Improve this Doc
View Source
Declaration
Properties
|
Improve this Doc
View Source
Declaration
public long? AudioEventId { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public long? AudioRecordingId { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public DateTimeOffset? AudioRecordingRecordedDate { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public double Bandwidth { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public int DominantFrequency { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public bool Error { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public string ErrorMessage { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public double EventDurationSeconds { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public double EventEndSeconds { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public DateTimeOffset? EventStartDate { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public double FreqBinStdDevDecibels { get; set; }
Property Value
|
Improve this Doc
View Source
Gets or sets the top frequency bound of the acoustic event in Hertz
Note: MinHz implemented in base class.
Declaration
public double HighFrequencyHertz { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public string ListenUrl { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public double LowFrequencyHertz { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public double MeanDecibels { get; set; }
Property Value
|
Improve this Doc
View Source
Gets or sets a metadata field used for sorting results. Not serialized in CSV output.
Declaration
public int Order { get; set; }
Property Value
|
Improve this Doc
View Source
Gets or sets the event's signal-to-noise ratio in decibels.
Declaration
public double SnrDecibels { get; set; }
Property Value
|
Improve this Doc
View Source
Gets or sets the SpectralCentroid.
The SpectralCentroid is a measure of the "brightness" of a sound event, that is, the relative amount of high freq content compared to low freq content.
Note that this SpectralCentroid is calculated from a weighted average of decibel values and NOT power values.
Declaration
public int SpectralCentroid { get; set; }
Property Value
|
Improve this Doc
View Source
Gets or sets a measure of the distribution of energy over the frequency bins of the event.
SpectralEnergyDistribution = 1 - Hf, where Hf is the spectral entropy calculated as for acoustic indices.
Minimum value = 0.0, when energy is unifrom over all frequency bins.
Maximum value = 1.0, when all the acoustic energy is concentrated in a single frequency bin.
Declaration
public double SpectralEnergyDistribution { get; set; }
Property Value
|
Improve this Doc
View Source
Gets or sets a measure of the distribution of energy over the time frames of the event.
TemporalEnergyDistribution = 1 - Ht, where Ht is the temporal entropy calculated as for acoustic indices.
Minimum value = 0.0, when energy is unifrom over all time frames.
Maximum value = 1.0, when all the acoustic energy is concentrated in a single time frame.
Declaration
public double TemporalEnergyDistribution { get; set; }
Property Value
|
Improve this Doc
View Source
Gets or sets the relative location of the temporal max within the acoustic event.
E.g. if temporal max is half way through the event then TemporalMaxRelative = 0.5.
Declaration
public double TemporalMaxRelative { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public double TemporalStdDevDecibels { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
Sorts the results by their Order property if it is available otherwise reverts to the base
class comparison.
Declaration
public override int CompareTo(ResultBase other)
Parameters
Type |
Name |
Description |
ResultBase |
other |
An object to compare with this instance.
|
Returns
Type |
Description |
Int32 |
A value that indicates the relative order of the objects being compared.
|
Overrides
|
Improve this Doc
View Source
Declaration
public override int CompareTo(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
Implements
Extension Methods