Class ArdeaInsignis
Used to recognise calls of the White Heron in Bhutan.
Originally a project of Tshering Dema.
Inheritance
ArdeaInsignis
Assembly: AnalysisPrograms.dll
Syntax
public class ArdeaInsignis : RecognizerBase, IEventRecognizer, IAnalyser2, ICiteable, IHasStatus
Properties
|
Improve this Doc
View Source
Author
Declaration
public override string Author { get; }
Property Value
Overrides
|
Improve this Doc
View Source
CommonName
Declaration
public override string CommonName { get; }
Property Value
Overrides
|
Improve this Doc
View Source
Description
Declaration
public override string Description { get; }
Property Value
Overrides
|
Improve this Doc
View Source
SpeciesName
Declaration
public override string SpeciesName { get; }
Property Value
Overrides
|
Improve this Doc
View Source
Status
Declaration
public override Status Status { get; }
Property Value
Overrides
Methods
|
Improve this Doc
View Source
GetEndTemplateForAlgorithm2()
Declaration
public static double[] GetEndTemplateForAlgorithm2()
Returns
|
Improve this Doc
View Source
GetTemplateForAlgorithm2(Int32, Int32)
Declaration
public static double[] GetTemplateForAlgorithm2(int gapBetweenPeaks, int templateEndPadding)
Parameters
Type |
Name |
Description |
Int32 |
gapBetweenPeaks |
|
Int32 |
templateEndPadding |
|
Returns
|
Improve this Doc
View Source
GetTemplatesForAlgorithm1(Int32)
Constructs a list of simple template for the White Herron oscillation call.
each template is a vector of real values representing acoustic intensity.
Declaration
public static List<double[]> GetTemplatesForAlgorithm1(int callBinWidth)
Parameters
Type |
Name |
Description |
Int32 |
callBinWidth |
Typical value = 13.
|
Returns
Type |
Description |
List<Double[]> |
list of templates.
|
|
Improve this Doc
View Source
Do your analysis. This method is called once per segment (typically one-minute segments).
Declaration
public override RecognizerResults Recognize(AudioRecording recording, Config configuration, TimeSpan segmentStartOffset, Lazy<IndexCalculateResult[]> getSpectralIndexes, DirectoryInfo outputDirectory, int? imageWidth)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
RecognizerTest(IEnumerable<EventBase>, FileInfo)
This test checks an array of acoustic events (array of EventBase) against a standard or benchmark previously stored.
If the benchmark file does not exist then the array of EventBase is written to a text file.
If a benchmark does exist the current array is first written to file and then both
current (test) file and the benchmark file are read as text files and compared.
Declaration
public static void RecognizerTest(IEnumerable<EventBase> events, FileInfo wavFile)
Parameters
|
Improve this Doc
View Source
RecognizerTest(Double[], FileInfo)
This test checks a score array (array of doubles) against a standard or benchmark previously stored.
If the benchmark file does not exist then the passed score array is written to become the benchmark.
Declaration
public static void RecognizerTest(double[] scoreArray, FileInfo wavFile)
Parameters
Type |
Name |
Description |
Double[] |
scoreArray |
scoreArray.
|
FileInfo |
wavFile |
wavFile.
|
|
Improve this Doc
View Source
SummariseResults(AnalysisSettings, FileSegment, EventBase[], SummaryIndexBase[], SpectralIndexBase[], AnalysisResult2[])
Summarize your results. This method is invoked exactly once per original file.
Declaration
public override void SummariseResults(AnalysisSettings settings, FileSegment inputFileSegment, EventBase[] events, SummaryIndexBase[] indices, SpectralIndexBase[] spectralIndices, AnalysisResult2[] results)
Parameters
Overrides
Implements
Extension Methods