-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix and refactor ecephys nwb spike filter and sorting
Previously (#1365), filtering and sorting of ecephys spike data was implemented for ecephys data. That PR added filtering/sorting of spike data when writing and loading from ecephys nwbfiles. It turns out the filtering/sorting implementation on the nwb writing side was assuming data in the units table that had yet to be added, resulting in errors when trying to write ecephys nwb files. This commit 1) fixes the spike filtering and sorting functionality 2) Removes filtering/sorting when loading from ecephys nwbfiles 3) applies some refactoring to more easily test adding probe data (e.g. unit tables) to the ecephys nwbfiles and 4) adds tests. Relates to: #1510
- Loading branch information
Showing
3 changed files
with
183 additions
and
142 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
Oops, something went wrong.