-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add capability for building summed waveform over channel subset (#565)
* Added data fields for top/bottom array waveforms. * Added data_top and data_bot fields to peaks. Added capability of building separate waveforms (separation according to channel index). Added test for new feature. TODO: Remove data_bot when all tests are finished. * Switched to boolean flags in store_downsampled_waveform because numba does not like hashmaps with dynamic instead of static keys. * Refactored store_downsampled_waveform to downsample summed and separate array waveforms at the same time (similar to what Peter did) to avoid issues due to changing peak['length']. * removing bottom array and leaving only top one * Fix test * add digitize top argument Co-authored-by: Joran R. Angevaare <jorana@nikhef.nl> Co-authored-by: Andrii Terliuk <andrey.terlyuk@gmail.com> Co-authored-by: Daniel Wenz <43881800+WenzDaniel@users.noreply.github.com> Co-authored-by: Joran R. Angevaare <joranangevaare@gmail.com> Co-authored-by: Joran Angevaare <j.angevaare@nikhef.nl>
- Loading branch information
1 parent
d6b3575
commit e8b03fc
Showing
5 changed files
with
81 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters