diff --git a/docs/guides/Ecosounds.NinoxBoobook.yml b/docs/guides/Ecosounds.NinoxBoobook.yml index 832b39c0e..5369865d6 100644 --- a/docs/guides/Ecosounds.NinoxBoobook.yml +++ b/docs/guides/Ecosounds.NinoxBoobook.yml @@ -51,21 +51,21 @@ PostProcessing: ExpectedPeriod: 0.4 # 3: Remove events whose duration lies outside 3 SDs of an expected value. - Duration: - ExpectedDuration: 0.14 - DurationStandardDeviation: 0.01 + #Duration: + # ExpectedDuration: 0.14 + # DurationStandardDeviation: 0.01 # 4: Remove events whose bandwidth lies outside 3 SDs of an expected value. Bandwidth: ExpectedBandwidth: 280 BandwidthStandardDeviation: 40 - # 5: Filter the events for excess activity in their sidebands, - # i.e. upper and lower buffer zones - SidebandActivity: - LowerHertzBuffer: 150 - UpperHertzBuffer: 400 - MaxAverageSidebandDecibels: 3.0 + # 5: Filter the events for excess activity in their sidebands + SidebandAcousticActivity: + LowerSidebandWidth: 150 + UpperSidebandWidth: 0 + MaxBackgroundDecibels: 12 + #MaxActivityDecibels: 12 # Options to save results files # 1: Available options for saving spectrograms (case-sensitive): [Never | Always | WhenEventsDetected] diff --git a/src/AnalysisConfigFiles/RecognizerConfigFiles/Towsey.NinoxBoobook.yml b/src/AnalysisConfigFiles/RecognizerConfigFiles/Towsey.NinoxBoobook.yml index eab083645..3e6f1c5cb 100644 --- a/src/AnalysisConfigFiles/RecognizerConfigFiles/Towsey.NinoxBoobook.yml +++ b/src/AnalysisConfigFiles/RecognizerConfigFiles/Towsey.NinoxBoobook.yml @@ -52,19 +52,20 @@ PostProcessing: # 3: Remove events whose duration lies outside 3 SDs of an expected value. #Duration: - ExpectedDuration: 0.14 - DurationStandardDeviation: 0.01 + # ExpectedDuration: 0.14 + # DurationStandardDeviation: 0.01 # 4: Remove events whose bandwidth lies outside 3 SDs of an expected value. - # Bandwidth: - ExpectedBandwidth: 280 - BandwidthStandardDeviation: 40 + #Bandwidth: + # ExpectedBandwidth: 280 + # BandwidthStandardDeviation: 40 # 5: Filter the events for excess activity in their sidebands, i.e. upper and lower buffer zones - SidebandActivity: - LowerHertzBuffer: 150 - UpperHertzBuffer: 400 - MaxAverageSidebandDecibels: 3.0 + #SidebandAcousticActivity: + LowerSidebandWidth: 150 + UpperSidebandWidth: 400 + MaxBackgroundDecibels: 12 + MaxActivityDecibels: 12 # Options to save results files # 1: Available options for saving spectrograms (case-sensitive): [False/Never | True/Always | WhenEventsDetected] diff --git a/src/AnalysisConfigFiles/RecognizerConfigFiles/Towsey.NinoxStrenua.yml b/src/AnalysisConfigFiles/RecognizerConfigFiles/Towsey.NinoxStrenua.yml index b10585451..bbe868e46 100644 --- a/src/AnalysisConfigFiles/RecognizerConfigFiles/Towsey.NinoxStrenua.yml +++ b/src/AnalysisConfigFiles/RecognizerConfigFiles/Towsey.NinoxStrenua.yml @@ -61,14 +61,12 @@ PostProcessing: ExpectedPeriod: 0.92 # 3: Remove events whose duration lies outside 3 SDs of an expected value. - Duration: - FilterOnDuration: false - ExpectedDuration: 0.14 - DurationStandardDeviation: 0.01 + #Duration: + # ExpectedDuration: 0.14 + # DurationStandardDeviation: 0.01 # 4: Remove events whose bandwidth lies outside 3 SDs of an expected value. Bandwidth: - FilterOnBandwidth: true ExpectedBandwidth: 120 BandwidthStandardDeviation: 15 @@ -76,10 +74,8 @@ PostProcessing: SidebandAcousticActivity: LowerSidebandWidth: 0 UpperSidebandWidth: 0 - FilterEventsOnSidebandBackground: false - MaxBackgroundDecibels: 6.0 - FilterEventsOnSidebandActivity: false - MaxActivityDecibels: 9.0 + MaxBackgroundDecibels: null + MaxActivityDecibels: null # Various options to save results files # 1: Available options for saving spectrograms (case-sensitive): [False/Never | True/Always | WhenEventsDetected] diff --git a/src/AnalysisConfigFiles/RecognizerConfigFiles/Towsey.PteropusSpecies.yml b/src/AnalysisConfigFiles/RecognizerConfigFiles/Towsey.PteropusSpecies.yml index 414acc335..476532b4f 100644 --- a/src/AnalysisConfigFiles/RecognizerConfigFiles/Towsey.PteropusSpecies.yml +++ b/src/AnalysisConfigFiles/RecognizerConfigFiles/Towsey.PteropusSpecies.yml @@ -15,6 +15,16 @@ AbbreviatedSpeciesName: PteropusSp # Typically the lowest harmonic will lie between 1200 Hz and 3000 Hz and the higher ones evenly spaced. # This is the tricky bit due to variability but may work to use spectrum auto-correlation. +## Specifically for AnalyzeLongRecording + +# Resample rate must be 2 X the desired Nyquist +ResampleRate: 22050 + +# SegmentDuration: units=seconds; +SegmentDuration: 60 +# SegmentOverlap: units=seconds; +SegmentOverlap: 0 + # Common settings BgNoiseThreshold: 3.0 @@ -54,14 +64,6 @@ Profiles: # <<: *STANDARD # DctDuration: 0.3 -# Resample rate must be 2 X the desired Nyquist -ResampleRate: 22050 - -## Specifically for AnalyzeLongRecording -# SegmentDuration: units=seconds; -SegmentDuration: 60 -# SegmentOverlap: units=seconds; -SegmentOverlap: 0 # Available options (case-sensitive): [False/Never | True/Always | WhenEventsDetected] SaveIntermediateWavFiles: Never SaveIntermediateCsvFiles: false diff --git a/tests/Acoustics.Test/AnalysisPrograms/Recognizers/GenericRecognizerTests.cs b/tests/Acoustics.Test/AnalysisPrograms/Recognizers/GenericRecognizerTests.cs index f0161403a..680b0697c 100644 --- a/tests/Acoustics.Test/AnalysisPrograms/Recognizers/GenericRecognizerTests.cs +++ b/tests/Acoustics.Test/AnalysisPrograms/Recognizers/GenericRecognizerTests.cs @@ -160,8 +160,6 @@ public void TestOscillationAlgorithm() BgNoiseThreshold = 0.0, MaxHertz = 1050, MinHertz = 700, - BottomHertzBuffer = 0, - TopHertzBuffer = 0, SpeciesName = "DTMF", DctDuration = 1.0, MinOscillationFrequency = 1, @@ -190,7 +188,7 @@ public void TestOscillationAlgorithm() { UpperSidebandWidth = 0, LowerSidebandWidth = 0, - MaxBackgroundDecibels = 0, + MaxBackgroundDecibels = 0.0, }, }, };