-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue292 spectral centroid #330
Conversation
Issue #292 SC is to be used as a summary index.
Issue #292 Write various methods to calculate the spectral centroid of a spectrum and accompanying unit tests of the methods.
…the Summary Indices Issue #292 Incorporate calculation of the Spectral Centroid into calculation of the Summary Indices. Also incorporate the calculation into unit test of summary indices.
Codecov Report
@@ Coverage Diff @@
## master #330 +/- ##
==========================================
+ Coverage 29.19% 29.31% +0.11%
==========================================
Files 474 475 +1
Lines 68728 68794 +66
==========================================
+ Hits 20066 20165 +99
+ Misses 48662 48629 -33
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The only minor suggestion I have to make is that we should include a citation in the documentation of the SpectralCentroid class
Also there'a failing unit test at |
Issue #292 Added in reference to literature to justify calculation of the spectral centroid and fix a failing unit test.
Hi Anthony,
I have fixed both the issues which you mentioned concerning spectral centroid. The unit test now passes.
Cheers, Michael
Dr. Michael Towsey
ORCID iD http://orcid.org/0000-0002-8246-7151
QUT Ecoacoustics Research Group | www.Ecosounds.org<http://www.ecosounds.org/>
Science and Engineering Faculty
S block, Level 10, Room 1002, Garden Point Campus,
Queensland University of Technology,
Brisbane, Queensland 4001
Australia
Phone +61 7 3138 9381
Fax +61 7 3138 9390
…________________________________
From: Anthony Truskinger <[email protected]>
Sent: 06 July 2020 6:13 PM
To: QutEcoacoustics/audio-analysis <[email protected]>
Cc: Michael Towsey <[email protected]>; Author <[email protected]>
Subject: Re: [QutEcoacoustics/audio-analysis] Issue292 spectral centroid (#330)
Also there'a failing unit test at Acoustics.Test.Shared.CsvTests.TestBaseTypesAreNotSerializedAsArray() - that test is just testing CSV output, you'll just need to add your new column to the expected string.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https://github.com/QutEcoacoustics/audio-analysis/pull/330*issuecomment-654086064__;Iw!!NVzLfOphnbDXSw!UGiBHa6M39dv01RUfTqb0Ut6Xwe8dGh4ZwC1Hb5GfRjBvSyzdPRUE87TAr-COpR5x7s$>, or unsubscribe<https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/ABXG7A7VXA7ZS46WYZHXK73R2GBTFANCNFSM4ORKPTVQ__;!!NVzLfOphnbDXSw!UGiBHa6M39dv01RUfTqb0Ut6Xwe8dGh4ZwC1Hb5GfRjBvSyzdPRUE87TAr-CuzNLPZI$>.
|
Title of PR
Issue #292 Spectral Centroid
What is the purpose of this PR?
To incorporate calculation of Spectral centroid as summary index into master.
Changes
Calculation of centroid and associated unit tests.
Visual Changes
An additional track should be added into the image of the summary indices.
Closes #292