Skip to content

Commit

Permalink
Adjust parameters for powerful Owl Test
Browse files Browse the repository at this point in the history
  • Loading branch information
towsey authored and atruskie committed Oct 14, 2020
1 parent c78e018 commit c3bfb48
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ Profiles:
# min and max of the freq band to search
MinHertz: 300
MaxHertz: 600
MinDuration: 0.25
MaxDuration: 0.7
MinDuration: 0.2
MaxDuration: 0.9

StrenuaSyllable12db: !ForwardTrackParameters
ComponentName: RidgeTrack
Expand All @@ -42,8 +42,8 @@ Profiles:
# min and max of the freq band to search
MinHertz: 300
MaxHertz: 600
MinDuration: 0.25
MaxDuration: 0.7
MinDuration: 0.2
MaxDuration: 0.9

StrenuaSyllable24db: !ForwardTrackParameters
ComponentName: RidgeTrack
Expand All @@ -55,10 +55,10 @@ Profiles:
# min and max of the freq band to search
MinHertz: 300
MaxHertz: 600
MinDuration: 0.25
MaxDuration: 0.7
MinDuration: 0.2
MaxDuration: 0.9

StrenuaSyllable24db: !ForwardTrackParameters
StrenuaSyllable30db: !ForwardTrackParameters
ComponentName: RidgeTrack
SpeciesName: NinoxStrenua
FrameSize: 1024
Expand All @@ -68,33 +68,33 @@ Profiles:
# min and max of the freq band to search
MinHertz: 300
MaxHertz: 600
MinDuration: 0.25
MaxDuration: 0.7
MinDuration: 0.2
MaxDuration: 0.9

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

# The first two post-processing steps are to combine overlapping/proximal/sequential events
# 1: Combine overlapping events
CombineOverlappingEvents: false
CombineOverlappingEvents: true

# 2: Combine possible syllable sequences
SyllableSequence:
CombinePossibleSyllableSequence: false
CombinePossibleSyllableSequence: true
SyllableStartDifference: 1.4
SyllableHertzGap: 300
SyllableHertzGap: 100
FilterSyllableSequence: false
SyllableMaxCount: 6
ExpectedPeriod: 0.92 # this figure derived from measure of 12 syllable periods.
ExpectedPeriod: 0.92

# 3: Remove events whose bandwidth lies outside 3 SDs of an expected value.
ExpectedBandwidth: 150
BandwidthStandardDeviation: 20
ExpectedBandwidth: 120
BandwidthStandardDeviation: 30

# 4: Filter the events for excess activity in their sidebands, i.e. upper and lower buffer zones
NeighbourhoodLowerHertzBuffer: 0
NeighbourhoodUpperHertzBuffer: 0
#NeighbourhoodDecibelBuffer: 18.0 # use this value if not combining sequences
NeighbourhoodDecibelBuffer: 0.0 # use this value when combining sequences
NeighbourhoodDecibelBuffer: 3.0 # use this value when combining sequences

# Options to save results files
# 5: Available options for saving spectrograms (case-sensitive): [False/Never | True/Always | WhenEventsDetected]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ public class PowerfulOwlTests : OutputDirectoryTest
/// "C:\Ecoacoustics\WavFiles\PowerfulOwl_NinoxStrenua\XC269666_PowerfulOwl_NinoxStrenua.mp3".
/// </summary>
//private static readonly FileInfo TestAsset = PathHelper.ResolveAsset("Recordings", "gympie_np_1192_331618_20150818_054959_31_0.wav");
//private static readonly FileInfo TestAsset = new FileInfo(@"C:\Ecoacoustics\WavFiles\PowerfulOwl_NinoxStrenua\XC269666_PowerfulOwl_NinoxStrenua.wav");
private static readonly FileInfo TestAsset = new FileInfo(@"C:\Ecoacoustics\WavFiles\PowerfulOwl_NinoxStrenua\Powerful3AndBoobook0_ksh3_1773_510819_20171109_174311_30_0.wav");
//private static readonly FileInfo TestAsset = new FileInfo(@"C:\Ecoacoustics\WavFiles\Owls\PowerfulOwl_NinoxStrenua.wav");
private static readonly FileInfo TestAsset = new FileInfo(@"C:\Ecoacoustics\WavFiles\Owls\PowerfulOwl_NinoxStrenua\Powerful3AndBoobook0_ksh3_1773_510819_20171109_174311_30_0.wav");
private static readonly FileInfo ConfigFile = PathHelper.ResolveConfigFile("RecognizerConfigFiles", "Towsey.NinoxStrenua.yml");
private static readonly AudioRecording Recording = new AudioRecording(TestAsset);
private static readonly NinoxStrenua Recognizer = new NinoxStrenua();
Expand Down

0 comments on commit c3bfb48

Please sign in to comment.