From cc01e9eb6d42116a62cd3b816187ef9f59ac01fe Mon Sep 17 00:00:00 2001 From: towsey Date: Fri, 4 Sep 2020 15:12:31 +1000 Subject: [PATCH] Small changes to config files Issue #370 Changes to accomodate change in calculation of the neighbourhood acoustic activity. --- .../RecognizerConfigFiles/Towsey.BotaurusPoiciloptilus.yml | 4 ++-- .../RecognizerConfigFiles/Towsey.NinoxBoobook.yml | 2 +- src/AnalysisPrograms/Recognizers/GenericRecognizer.cs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/AnalysisConfigFiles/RecognizerConfigFiles/Towsey.BotaurusPoiciloptilus.yml b/src/AnalysisConfigFiles/RecognizerConfigFiles/Towsey.BotaurusPoiciloptilus.yml index f7a2ac1b2..ac57bf8f2 100644 --- a/src/AnalysisConfigFiles/RecognizerConfigFiles/Towsey.BotaurusPoiciloptilus.yml +++ b/src/AnalysisConfigFiles/RecognizerConfigFiles/Towsey.BotaurusPoiciloptilus.yml @@ -38,7 +38,7 @@ SyllableSequence: SyllableHertzGap: 35 FilterSyllableSequence: true SyllableMaxCount: 6 - ExpectedPeriod: 1.0 + ExpectedPeriod: 2.0 # 3: Remove events whose bandwidth lies outside 3 SDs of an expected value. ExpectedBandwidth: 100 @@ -47,7 +47,7 @@ BandwidthStandardDeviation: 15 # 4: Filter the events for excess activity in their upper and lower buffer zones NeighbourhoodLowerHertzBuffer: 150 NeighbourhoodUpperHertzBuffer: 400 -NeighbourhoodDbThreshold: 6.0 +NeighbourhoodDecibelBuffer: 0.0 # C: Options to save results files # 4: Available options for saving spectrograms (case-sensitive): [False/Never | True/Always | WhenEventsDetected] diff --git a/src/AnalysisConfigFiles/RecognizerConfigFiles/Towsey.NinoxBoobook.yml b/src/AnalysisConfigFiles/RecognizerConfigFiles/Towsey.NinoxBoobook.yml index 4c090294c..b06121690 100644 --- a/src/AnalysisConfigFiles/RecognizerConfigFiles/Towsey.NinoxBoobook.yml +++ b/src/AnalysisConfigFiles/RecognizerConfigFiles/Towsey.NinoxBoobook.yml @@ -47,7 +47,7 @@ BandwidthStandardDeviation: 40 # 4: Filter the events for excess activity in their upper and lower buffer zones NeighbourhoodLowerHertzBuffer: 150 NeighbourhoodUpperHertzBuffer: 400 -NeighbourhoodDbThreshold: 9.0 +NeighbourhoodDecibelBuffer: 3.0 # C: Options to save results files # 4: Available options for saving spectrograms (case-sensitive): [False/Never | True/Always | WhenEventsDetected] diff --git a/src/AnalysisPrograms/Recognizers/GenericRecognizer.cs b/src/AnalysisPrograms/Recognizers/GenericRecognizer.cs index 173c753d4..1ba5d461a 100644 --- a/src/AnalysisPrograms/Recognizers/GenericRecognizer.cs +++ b/src/AnalysisPrograms/Recognizers/GenericRecognizer.cs @@ -510,7 +510,7 @@ public class GenericRecognizerConfig : RecognizerConfig, INamedProfiles public int NeighbourhoodLowerHertzBuffer { get; set; } /// - /// Gets or sets a value indicating the decibel gap/difference between acoustic activity in the event and in the upper/lower buffer zones. + /// Gets or sets a value indicating the decibel gap/difference between acoustic activity in the event and in the upper and lower buffer zones. /// BufferAcousticActivity must be LessThan (EventAcousticActivity - NeighbourhoodDecibelBuffer) /// This value is used only if NeighbourhoodLowerHertzBuffer > 0 OR NeighbourhoodUpperHertzBuffer > 0. ///