-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rescaling of plot graphs for generic recogniser
Fixes #469 Update MultiRecognizer.cs Issue #469 Minor changes. Except change the FFT window from Hamming to Hanning. Update DataToolsTests.cs Issue #469 Add a new test method to check that the scaling of image plots is working. Update GenericRecognizerTests.cs Issue #469 Remove hard-coded path. Update GenericRecognizer.cs Issue #469 Add in code to rescale the plots to fit the current spectrogram. Changed the signature to SpectrogramTools.GetSonogramPlusCharts() Issue #469 Changed the signature to SpectrogramTools.GetSonogramPlusCharts() so that it also includes the title of the spectrogram. THis affected these 6 methods. Rescaling of the plots happens here. Issue #469 This is ensures that all plots are the same length as the last spectrogram. Update SpectrogramTools.cs Issue #469 Fix the drawing of spectrograms. Update BlobEvent.cs Issue #469 The plot was being added twice for Blob events. Removed one of them. Update OscillationEvent.cs Issue #469 1: Added the Periodicity Property to the Oscillation Event class. 2: Fixed the Draw() method for Oscillation events. The events were not drawing. 3: Added a method to trim Oscillation events using the decibel values as a guide to where the true bounds should be. Update Oscillations2019.cs Issue #469 The main change is due to changing the signature of the ConvertOscillationScores2Events() method Update Oscillations2012.cs Issue #469 1: Delete the GetOscillationFrequency() method 2: Change the way a new Oscillation event is initialised. Update GenericRecognizerTests.cs Issue #469 1: Write a new test method. Its original purpose was to satisfy Anthony's intention of having two profiles with different Windows. This was a way to get the plot scaling fixed. Unfortunately a lot of the functionality to do with the OscillationEvent class was not working. I used this test method to get it working. Update OscillationEvent.cs Issue #469 Rejig the calculation of the oscillation period to make it more accurate. Adjust start and end time test results Issue #469 1: Adjust event expected start and end times for test results involving oscillations. These adjustments brought about by tightening the bounds of an oscillation event. 2: Add periodicity result into the test. The periodicity is the property unique to oscillation events. Update GenericRecognizerTests.cs Issue #469 Change name of test method to match the profiles actually used. Update GenericRecognizerTests.cs Issue #469 Update name of the test method a third time! At present there is no method to convert type AcousticEvent directly to type BlobEvent. Only to type SpectralEvent. Update GenericRecognizerTests.cs Issue #469 Change name of profile to be consistent with Blob profile name.
- Loading branch information
Showing
16 changed files
with
352 additions
and
165 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.