From 8e9f84c1a2fc5c521de45aeede36c7248c361cd3 Mon Sep 17 00:00:00 2001 From: towsey Date: Mon, 8 Jun 2020 16:06:36 +1000 Subject: [PATCH] Update AnthusNovaeseelandiae.cs Issue #321 Do last work on Australiasian Pipit. Getting large number of FPs i.e. 280 in 90 noise filoes. But this will have to be sorted doing post-processing on the event content. --- .../Recognizers/Birds/AnthusNovaeseelandiae.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/AnalysisPrograms/Recognizers/Birds/AnthusNovaeseelandiae.cs b/src/AnalysisPrograms/Recognizers/Birds/AnthusNovaeseelandiae.cs index dbcd928f4..c95e87d34 100644 --- a/src/AnalysisPrograms/Recognizers/Birds/AnthusNovaeseelandiae.cs +++ b/src/AnalysisPrograms/Recognizers/Birds/AnthusNovaeseelandiae.cs @@ -118,15 +118,15 @@ public override RecognizerResults Recognize( // 3: Filter the events for duration in seconds var minimumEventDuration = 0.1; - var maximumEventDuration = 0.8; - //combinedResults.NewEvents = EventExtentions.FilterOnDuration(combinedResults.NewEvents, minimumEventDuration, maximumEventDuration); + var maximumEventDuration = 0.4; + combinedResults.NewEvents = EventExtentions.FilterOnDuration(combinedResults.NewEvents, minimumEventDuration, maximumEventDuration); PipitLog.Debug($"Event count after filtering on duration = {combinedResults.NewEvents.Count}"); // 4: Filter the events for bandwidth in Hertz - double average = 4000; - double sd = 400; + double average = 3500; + double sd = 600; double sigmaThreshold = 3.0; - //combinedResults.NewEvents = EventExtentions.FilterOnBandwidth(combinedResults.NewEvents, average, sd, sigmaThreshold); + combinedResults.NewEvents = EventExtentions.FilterOnBandwidth(combinedResults.NewEvents, average, sd, sigmaThreshold); PipitLog.Debug($"Event count after filtering on bandwidth = {combinedResults.NewEvents.Count}"); //UNCOMMENT following line if you want special debug spectrogram, i.e. with special plots.