-
Notifications
You must be signed in to change notification settings - Fork 8
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 mt metadata issue 173 #174
Conversation
- Added a method get_response_correction_operation_and_units which tries to determine if the calibration should be applied as a multiplication or division operation, and identifies the calibration operation based on this.
Codecov ReportAttention:
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #174 +/- ##
==========================================
+ Coverage 58.92% 58.95% +0.03%
==========================================
Files 138 138
Lines 14928 14997 +69
==========================================
+ Hits 8796 8842 +46
- Misses 6132 6155 +23
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
- make unit checks in remove_instrument_response use mt_metadata.utils.units
Create access point for complex_response kwargs in remove_instrument_response, specifically: include_decimation, include_time_delay
Implement channel_response_filter.get_list_of_filters_to_remove where response removal occurs.
- only flip the filters that were removed - add some doc about units, remove reference to "hack"
- use get_unit_object, and place full name of unit in channel_ts and channel_metadata
- removed (unused) optional argument "operation" in remove_instrument_response
remove references to filter correction operation
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.
A good logic fix on filters. Tests are updated alone with examples
Added some organization to the channel response filter.
see mt_metadata fix_issue_173
for more detail