-
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
Fix issue 235 #236
base: patches
Are you sure you want to change the base?
Fix issue 235 #236
Conversation
- this will help disambiguate from time series Channel objects - minor updates to doc strings - remove an unneeded return None
- Add some typehinting for DecimationLevel - working on finding if we can delete Decimation class
- once correctly dtyped, circular imports were encountered. - this was fixed by creating frequency_bands.py - also add FrequencyBands to __init__.py - alphabetize imports in __init__.py
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## patches #236 +/- ##
===========================================
- Coverage 84.98% 84.94% -0.04%
===========================================
Files 270 273 +3
Lines 20515 20378 -137
===========================================
- Hits 17435 17311 -124
+ Misses 3080 3067 -13
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
- move get_fft_harmonics into window.py from decimation_level.py - add fft_harmonics method to Window and replace other imports and usages
- try to group the decimation-related attributes together at the top, and the STFT related attrs at the bottom
- this may not be needed and this json is slated for deletion, but until ready to delete this keeps the dual decimation classes close
- this is one of two main replacements that needs to be done on #235 - the next main replacement will be in FCDecimation
- add pass-through getters and setters for decimation_level and decimation_factor, - allowing FCDecimation to assing/access via self.time_series_decimation - remove attrs decimation_level and decimation_factor from fc decimation.json - update attrs in time_series_decimation.json
- also alphabetize imports
…c.method (get/set)
- replace with a property in DecimationLevel that accesses TimeSeriesDecimation attribute.
@kujaku11 This is ready for review. I cannot test aurora on github by changing the mt_metadata branch, but tests are passing locally for this. Also not sure how to test mth5 against this branch, but the integrated tests pass locally. |
- remove some cruft - add TODO and some doc
Factored a TimeSeriesDecimation metadata class out of both FCDecimation and AuroraDecimationLevel. This will help future updates disambiguate the term decimation and is a general step towards adding Spectrogram capabilities into MTH5.
Channel
)