-
Notifications
You must be signed in to change notification settings - Fork 6
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
Spectrogram Integration #235
Comments
After some review, it seems that
A future PR could address recursive grep |
- this is one of two main replacements that needs to be done on #235 - the next main replacement will be in FCDecimation
After getting most of the way through this it seems that processing/fc/decimation.py would be more appropriately named spectrogram.py, and There is another potential factoring: aurora decimation_level.json and fc/decimation.json have much in common to merge in an STFT mt_metadata object. |
While adding spectrogram capabilities to mth5, there are some things that could be clarified:
1A mixes the concept of decimation with the concept of STFT. I.e. it has information about the time-domain decimation and information about the STFT parameters.
1B Specifies only the decimation factor, and an integer for the "decimation level", but has no information about the STFT. N.B. it is not clear that this is needed or used.
1C: Has only the information about the STFT that would be applied to a time series.
Part of the complexity here is based on the fact that in the old days, when disc space concerns were more of an issue, it was not common to store the decimated time series. The decimated time series were ephemeral, and did not persist after FCs were computed. This means that a FC object that is not at the zeroth decimation level would not in general have a time domain representation available. If the decimated time series were desired, they needed to be recomputed on demand.
A better way to manage the metadata could be to make standard practice to compute and store the decimated time-series.
Pros: Processing workflow is more modular.
Cons: Takes more disc space.
Other notes:
The text was updated successfully, but these errors were encountered: