-
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
Generate all grayscale single-index spectrograms #199
Comments
The request is to generate single index (grey scale) concatenated 24-hour spectrograms of all the indices for which matrices of values are available. This will assist the search for those indices that detect acoustic events of interest. And this, in turn, is useful when constructing feature sets for ML purposes. |
@towsey the 24-hour clarification is not needed. The Keep in mind we have no limitation on the length of a recording... Just the other day we were processing 24-hour files. As to to the 'partial' images: images associated with the recording are the whole image. Concatenated images are super images. |
Changes required in order deal with side effects of the pervious commit. All this is in part resolution of Issue #199. Yet TODO: Still need to check that Concatenation methods concatenate all the available grey scale spectrograms.
Reopened because these code written for this patch only generated the extra images in the concatenate path. More work required to do this for also the standard index generation path. |
All single index greyscale spectrograms are now drawn. I changed the config file to get better grey scale rendering. Changed drawing of Hertz label so does not cover so much spectrogram real-estate.
Two of the failing tests were just due to different numbers of files being produced. The other failed in an aritficial data scenario where the min and max of the matrix were equal. The resulting range (0) caused NaNs when normalized. This bug was discovered now due to the dual auto-normalizations changes to the index properties config for R3D. Fix is to revert to pre-defined bounds is auto-noramlization range is 0. This fixes work done in 6ec16c6 for #199
Adds rendering of ALL grayscale LD spectrograms to standard indices generation. Closes #199 (again)
Is your feature request related to a problem? Please describe.
The spectral indices are rendered as grayscale spectrogram images for the six spectral indices used in the false colour spectrogram colour-maps. Here an example grayscale spectral ACI spectrogram:
Describe the solution you'd like
Two fold:
Towsey.Acoustic.yml
config to limit or disable index image generationGenerateIndicesImages
which will take a value ofAll
,CompositeOnly
,SingularOnly
,None
Describe alternatives you've considered
We have considered removing image generation all together from the
Towsey.Acoustic
analysis since most people want concatenated images produced fror multiple files - there's no use generating the images twice.Additional context
The single-index spectrograms are very useful for examining the effects of different indices without the colour bias or confounding effects that are found in the false colour spectrograms.
The text was updated successfully, but these errors were encountered: