Skip to content

Commit

Permalink
Initial draft of generic recogniser guide
Browse files Browse the repository at this point in the history
Closes #406

This is a combination of 22 commits.

Create DIY_CallRecognizersUsingAP.md

Start of manual for DIY call recognizers

Update toc.yml

for DIY call recognizers

Delete index.md

Remove index.md

Trying to set up call recognizer manual

Trying to set up call recognizer manual

Settoing up manual

Issue #406

Update DIY_CallRecognizersUsingAP.md

Issue#406 edit manual

FUrther progress with writing manual for DIY Recognizer.

Issue #406 Added text and images

Update DIY_CallRecognizersUsingAP.md

Issue #406 More work on the manual. Have almost finished scoping out the manual. Now need to polish the contents.

Update DIY_CallRecognizersUsingAP.md

Issue #406

Update DIY_CallRecognizersUsingAP.md

Issue #406 continue editing.

Issue #406

Continue editing manual for DIY recognizer.

Update DIY_CallRecognizersUsingAP.md

More work on manual.

Update DIY_CallRecognizersUsingAP.md

Issue #406 Work on description of Profiles.

Update DIY_CallRecognizersUsingAP.md

Issue #406 More work on describing the content of the configuration file

Update DIY_CallRecognizersUsingAP.md

Issue #406. Finish up to Section 8. Only sections 9 and 10 remaining.

Update DIY_CallRecognizersUsingAP.md

Issue #406 I have completed the basic text for all 10 sections of the manual.
It now remains to include diagrams and complete the TODO sections.

Update DIY_CallRecognizersUsingAP.md

Issue #406 Add in description of parameters for harmonics and oscillations.

Update DIY_CallRecognizersUsingAP.md

Issue #406 More work on oscillation and harmonic events.

Update DIY_CallRecognizersUsingAP.md

Issue #406 Work on the Oscillation and Harmonics event description

Update DIY_CallRecognizersUsingAP.md

Issue #406 Fixed a few errors.

Add in 5 diagrams to the guide.

Issue #406

Fix up details conerning sideband filter

Issue #406
  • Loading branch information
towsey authored and atruskie committed Feb 1, 2021
1 parent d1477c6 commit 29032ea
Show file tree
Hide file tree
Showing 8 changed files with 643 additions and 29 deletions.
600 changes: 600 additions & 0 deletions docs/guides/DIY_CallRecognizersUsingAP.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
---

# Australasian Bittern = Botaurus poiciloptilus
#NOTE: The parameter values in this config file were optimised on a data set supplied by Elizabeth Znidersic.
# It consisted of 14 consecutive hours of recording from Medeas Cove, St. Helens, Tasmania.
# The recordings contain 55 Bittern calls.
# Latest test (Oct 2020) on this dataset achieved: Recall = 87%. Precision = 76%.

# Boobook Owl = Towsey.NinoxBoobook
# Resample rate must be 2 X the desired Nyquist
ResampleRate: 8000
#ResampleRate: 22050
# SegmentDuration: units=seconds;
SegmentDuration: 60
# SegmentOverlap: units=seconds;
Expand All @@ -16,23 +11,24 @@ SegmentOverlap: 0
# Each of these profiles will be analyzed
# This profile is required for the species-specific recogniser and must have the current name.
Profiles:
BitternSyllable: !OnebinTrackParameters
ComponentName: Whistle
SpeciesName: BotaurusPoiciloptilus
FrameSize: 512
BoobookSyllable: !ForwardTrackParameters
ComponentName: RidgeTrack
SpeciesName: NinoxBoobook
FrameSize: 1024
FrameStep: 256
WindowFunction: HANNING

# min and max of the freq band to search
MinHertz: 90
MaxHertz: 210
MinDuration: 0.2
MaxDuration: 0.8
# Scan the freq band using these thresholds.
MinHertz: 400
MaxHertz: 1100
MinDuration: 0.17
MaxDuration: 1.2
# Scan the frequency band at these thresholds
DecibelThresholds:
- 3.0
- 6.0
- 9.0

- 12.0

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

PostProcessing:
Expand All @@ -48,33 +44,33 @@ PostProcessing:
# 2: Combine possible syllable sequences
SyllableSequence:
CombinePossibleSyllableSequence: true
SyllableStartDifference: 3.0
SyllableHertzGap: 40
SyllableStartDifference: 0.6
SyllableHertzGap: 350
FilterSyllableSequence: true
SyllableMaxCount: 7
ExpectedPeriod: 2.5
SyllableMaxCount: 2
ExpectedPeriod: 0.4

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

# 4: Remove events whose bandwidth lies outside 3 SDs of an expected value.
Bandwidth:
ExpectedBandwidth: 100
BandwidthStandardDeviation: 15
# 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: 200
MaxAverageSidebandDecibels: 6.0
UpperHertzBuffer: 400
MaxAverageSidebandDecibels: 3.0

# Options to save results files
# 1: 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: True
#SaveSonogramImages: WhenEventsDetected
SaveSonogramImages: WhenEventsDetected

# 2: Available options for saving data files (case-sensitive): [False/Never | True/Always | WhenEventsDetected]
SaveIntermediateWavFiles: Never
Expand All @@ -86,3 +82,5 @@ DisplayCsvImage: false

# Other config files to reference
HighResolutionIndicesConfig: "../Towsey.Acoustic.HiResIndicesForRecognisers.yml"

...
3 changes: 3 additions & 0 deletions docs/guides/Images/DCTparameters.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions docs/guides/Images/Fig2EventParameters.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions docs/guides/Images/ParametersForSteps1-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions docs/guides/Images/SevenKindsAcousticEvent.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/guides/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ contentsTitle: Available Guides
Guides are short focused examples on how to achieve something. They'll require
some adaption to work for your use case.

See the tutorials section for long form working examples that use real data.
See the tutorials section for long form working examples that use real data.
4 changes: 4 additions & 0 deletions docs/guides/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,9 @@

- name: Scripting AP.exe
href: scripting.md

- name: Scripting AP.exe with R
href: using_r.md

- name: DIY Call Recognizer
href: DIY_CallRecognizersUsingAP.md

0 comments on commit 29032ea

Please sign in to comment.