Skip to content

Commit

Permalink
Improved some recognizers, ensured scores are emitted in results
Browse files Browse the repository at this point in the history
  • Loading branch information
atruskie committed Sep 20, 2023
1 parent e406350 commit 112bab0
Show file tree
Hide file tree
Showing 8 changed files with 208 additions and 231 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---

# Barking Owl = Truskinger.NinoxConnivens
# Resample rate must be 2 X the desired Nyquist
#ResampleRate: 22050
Expand All @@ -11,48 +10,48 @@ SegmentOverlap: 0
# Each of these profiles will be analyzed
# This profile is required for the species-specific recognizer and must have the current name.
Profiles:
BarkingOwlSyllable: !ForwardTrackParameters
SpeciesName: Ninox connivens
FrameSize: 1024
FrameStep: 256
WindowFunction: HANNING
BarkingOwlSyllable: !ForwardTrackParameters
SpeciesName: Ninox connivens
FrameSize: 1024
FrameStep: 256
WindowFunction: HANNING

# min and max of the freq band to search
MinHertz: 220
MaxHertz: 1150
MinDuration: 0.15
MaxDuration: 0.18
# Scan the frequency band at these thresholds
DecibelThresholds:
- 6.0
- 9.0
- 12.0
# min and max of the freq band to search
MinHertz: 220
MaxHertz: 1150
MinDuration: 0.15
MaxDuration: 0.18
# Scan the frequency band at these thresholds
DecibelThresholds:
- 6.0
- 9.0
- 12.0

#################### POST-PROCESSING of EVENTS ###################

PostProcessing:
# # The following generic post-processing steps are determined by config settings.
# # Step 1: Combine overlapping events - events derived from all profiles.
# # Step 2: Combine possible syllable sequences and filter on excess syllable count.
# # Step 3: Remove events whose bandwidth is too small or large.
# # Step 4: Remove events that have excessive noise in their side-bands.
# # The following generic post-processing steps are determined by config settings.
# # Step 1: Combine overlapping events - events derived from all profiles.
# # Step 2: Combine possible syllable sequences and filter on excess syllable count.
# # Step 3: Remove events whose bandwidth is too small or large.
# # Step 4: Remove events that have excessive noise in their side-bands.

# # 1: Combine overlapping events
# CombineOverlappingEvents: true
# # 2: Combine possible syllable sequences
SyllableSequence:
CombinePossibleSyllableSequence: true
SyllableStartDifference: 0.6
SyllableHertzGap: 350
FilterSyllableSequence: true
SyllableMaxCount: 12
ExpectedPeriod: 0.4

# # 2: Combine possible syllable sequences
# SyllableSequence:
# CombinePossibleSyllableSequence: true
# SyllableStartDifference: 0.6
# SyllableHertzGap: 350
# FilterSyllableSequence: true
# SyllableMaxCount: 2
# ExpectedPeriod: 0.4
# # 1: Combine overlapping events
CombineOverlappingEvents: true

# # 3: Remove events whose duration lies outside 3 SDs of an expected value.
# #Duration:
# ExpectedDuration: 0.14
# DurationStandardDeviation: 0.01
# # 3: Remove events whose duration lies outside 3 SDs of an expected value.
Duration:
ExpectedDuration: 1.0
DurationStandardDeviation: 0.2

# # 4: Remove events whose bandwidth lies outside 3 SDs of an expected value.
# # Bandwidth:
Expand All @@ -68,12 +67,8 @@ PostProcessing:
# Options to save results files
# Available options for saving spectrograms (case-sensitive): [False/Never | True/Always | WhenEventsDetected]
# "True" is useful when debugging but "WhenEventsDetected" is required for operational use.
SaveSonogramImages: WhenEventsDetected
SaveSonogramImages: false

# Available options for saving data files (case-sensitive): [False/Never | True/Always | WhenEventsDetected]
SaveIntermediateWavFiles: Never
SaveIntermediateCsvFiles: false



...
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---

# Yellow Bellied Glider = Truskinger.PetaurusAustralis.yml
# Resample rate must be 2 X the desired Nyquist
#ResampleRate: 22050
Expand All @@ -16,7 +15,6 @@ CommonParameters: &common_parameters
NoiseReductionType: Modal
BgNoiseThreshold: 0.0


# Each of these profiles will be analyzed
# This profile is required for the species-specific recognizer and must have the current name.
Profiles:
Expand Down Expand Up @@ -68,13 +66,13 @@ Profiles:

PostProcessing:
PostProcessInDecibelGroups: false
# # The following generic post-processing steps are determined by config settings.
# # Step 1: Combine overlapping events - events derived from all profiles.
# # Step 2: Combine possible syllable sequences and filter on excess syllable count.
# # Step 3: Remove events whose bandwidth is too small or large.
# # Step 4: Remove events that have excessive noise in their side-bands.
# # The following generic post-processing steps are determined by config settings.
# # Step 1: Combine overlapping events - events derived from all profiles.
# # Step 2: Combine possible syllable sequences and filter on excess syllable count.
# # Step 3: Remove events whose bandwidth is too small or large.
# # Step 4: Remove events that have excessive noise in their side-bands.

# # 1: Combine overlapping events
# # 1: Combine overlapping events
CombineOverlappingEvents: false

# 2: Combine possible syllable sequences
Expand All @@ -85,32 +83,28 @@ PostProcessing:
# SyllableMaxCount: 3
# ExpectedPeriod: 0.1

# # # 3: Remove events whose duration lies outside 3 SDs of an expected value.
# # # 3: Remove events whose duration lies outside 3 SDs of an expected value.
Duration:
ExpectedDuration: 2.5
DurationStandardDeviation: 0.6

# # 4: Remove events whose bandwidth lies outside 3 SDs of an expected value.
# # Bandwidth:
# ExpectedBandwidth: 280
# BandwidthStandardDeviation: 40
# # 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, i.e. upper and lower buffer zones
# SidebandActivity:
# LowerHertzBuffer: 150
# UpperHertzBuffer: 400
# MaxAverageSidebandDecibels: 3.0
RemoveEnclosedEvents: false

# Options to save results files
# Available options for saving spectrograms (case-sensitive): [False/Never | True/Always | WhenEventsDetected]
# "True" is useful when debugging but "WhenEventsDetected" is required for operational use.
SaveSonogramImages: Always
SaveSonogramImages: false

# Available options for saving data files (case-sensitive): [False/Never | True/Always | WhenEventsDetected]
SaveIntermediateWavFiles: Never
SaveIntermediateCsvFiles: false



...
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---

# Masked Owl = Truskinger.TytoNovaehollandiae.yml
# Resample rate must be 2 X the desired Nyquist
#ResampleRate: 22050
Expand All @@ -14,51 +13,48 @@ SpeciesName: Tyto novaehollandiae
# Each of these profiles will be analyzed
# This profile is required for the species-specific recognizer and must have the current name.
Profiles:
MaskedOwlCall: !BlobParameters
SpeciesName: Tyto novaehollandiae
FrameSize: 256
FrameStep: 128
WindowFunction: HANNING

# min and max of the freq band to search
MinHertz: 1050
MaxHertz: 2900
MinDuration: 1.5
MaxDuration: 3.0
BottomHertzBuffer: 300
TopHertzBuffer: 300
# Scan the frequency band at these thresholds
DecibelThresholds:
- 1.0
- 9.0
- 12.0
MaskedOwlCallAed: !AedParameters
IntensityThreshold: 3
SmallAreaThreshold: 1000
BandpassMinimum: 1200
BandpassMaximum: 2800

MaskedOwlCall: !BlobParameters
SpeciesName: Tyto novaehollandiae
FrameSize: 256
FrameStep: 128
WindowFunction: HAMMING

# min and max of the freq band to search
MinHertz: 1050
MaxHertz: 3500
MinDuration: 0.1
MaxDuration: 3.0
BottomHertzBuffer: 300
TopHertzBuffer: 300
# Scan the frequency band at these thresholds
DecibelThresholds:
- 2.0
# MaskedOwlCallAed: !AedParameters
# IntensityThreshold: 3
# SmallAreaThreshold: 1000
# BandpassMinimum: 1200
# BandpassMaximum: 2800

#################### POST-PROCESSING of EVENTS ###################

PostProcessing:
# # The following generic post-processing steps are determined by config settings.
# # Step 1: Combine overlapping events - events derived from all profiles.
# # Step 2: Combine possible syllable sequences and filter on excess syllable count.
# # Step 3: Remove events whose bandwidth is too small or large.
# # Step 4: Remove events that have excessive noise in their side-bands.

# # 1: Combine overlapping events
# CombineOverlappingEvents: true

# # 2: Combine possible syllable sequences
SyllableSequence:
CombinePossibleSyllableSequence: true
SyllableStartDifference: 2
SyllableHertzGap: 300
FilterSyllableSequence: true
SyllableMaxCount: 2
ExpectedPeriod: 2
# # The following generic post-processing steps are determined by config settings.
# # Step 1: Combine overlapping events - events derived from all profiles.
# # Step 2: Combine possible syllable sequences and filter on excess syllable count.
# # Step 3: Remove events whose bandwidth is too small or large.
# # Step 4: Remove events that have excessive noise in their side-bands.

# # 1: Combine overlapping events
# CombineOverlappingEvents: true

# # 2: Combine possible syllable sequences
SyllableSequence:
CombinePossibleSyllableSequence: true
SyllableStartDifference: 2
SyllableHertzGap: 300
FilterSyllableSequence: true
SyllableMaxCount: 3
ExpectedPeriod: 1.2

# # 3: Remove events whose duration lies outside 3 SDs of an expected value.
# #Duration:
Expand All @@ -79,12 +75,8 @@ PostProcessing:
# Options to save results files
# Available options for saving spectrograms (case-sensitive): [False/Never | True/Always | WhenEventsDetected]
# "True" is useful when debugging but "WhenEventsDetected" is required for operational use.
SaveSonogramImages: WhenEventsDetected
SaveSonogramImages: false

# Available options for saving data files (case-sensitive): [False/Never | True/Always | WhenEventsDetected]
SaveIntermediateWavFiles: Never
SaveIntermediateCsvFiles: false



...
Loading

0 comments on commit 112bab0

Please sign in to comment.