Skip to content

Commit

Permalink
Set up the Australasian Bittern recognizer
Browse files Browse the repository at this point in the history
Issue #297 Set up everything except the post-processing.
  • Loading branch information
towsey committed May 4, 2020
1 parent b44b7dd commit a11b60c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---

# Australasian Bittern
# Resample rate must be 2 X the desired Nyquist
ResampleRate: 8000
# SegmentDuration: units=seconds;
Expand All @@ -9,19 +10,25 @@ SegmentOverlap: 0

# Each of these profiles will be analyzed
Profiles:
WhistleSyllable: !WhistleParameters
FrameSize: 1024
FrameStep: 512
BgNoiseThreshold: 0.0
AustBittern: !OnebinTrackParameters
ComponentName: Whistle
SpeciesName: BotaurusPoiciloptilus
FrameSize: 512
FrameStep: 256
WindowFunction: HANNING
BgNoiseThreshold: 0.0
# min and max of the freq band to search
MinHertz: 100
MaxHertz: 200
MinDuration: 0.2
MaxDuration: 1.0
DecibelThreshold: 6.0
ComponentName: Whistle
SpeciesName: BotaurusPoiciloptilus
DecibelThreshold: 3.0

#Combine each pair of Boobook syllables as one event
#CombineProximalSimilarEvents: false
CombinePossibleSyllableSequence: false
SyllableStartDifference: 0.6
SyllableHertzGap: 200

# Common settings
#Standard: &STANDARD
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ public override AnalyzerConfig ParseConfig(FileInfo file)

// This call sets a restriction so that only one generic algorithm is used.
// CHANGE this to accept multiple generic algorithms as required.
//if (result.Profiles.SingleOrDefault() is ForwardTrackParameters)
if (config.Profiles?.Count == 1 && config.Profiles.First().Value is ForwardTrackParameters)
//if (result.Profiles.SingleOrDefault() is OnebinTrackParameters)
if (config.Profiles?.Count == 1 && config.Profiles.First().Value is OnebinTrackParameters)
{
return config;
}
Expand Down

0 comments on commit a11b60c

Please sign in to comment.