-
Notifications
You must be signed in to change notification settings - Fork 250
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
buffer description api in neorawio and xarray reference API bridge #1513
Merged
Merged
Changes from 24 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
3083513
Proof of concept of "buffer_description_api" and xarray reference API…
samuelgarcia e70c014
Implement get_analogsignal_chunk() generically when a rawio class ha…
samuelgarcia 24fe98e
wip
samuelgarcia 22c6698
test on micromed
samuelgarcia 38a84f6
rebase on buffer_id
samuelgarcia 4d31b75
Implement get_analogsignal_chunk() generically when a rawio class ha…
samuelgarcia 5506b43
wip
samuelgarcia 7a0de15
test on micromed
samuelgarcia a53d147
some fix
samuelgarcia 907fa25
Merge
samuelgarcia f6ea345
make strema a slice of buffer and xarray api use buffer_id
samuelgarcia 81c7121
json api : winedr + winwcp
samuelgarcia 2d21e48
buffer api : RawBinarySignalRawIO + RawMCSRawIO
samuelgarcia a64b054
json api : neuroscope + openephysraw
samuelgarcia bc5a122
More reader with buffer description
samuelgarcia 356b281
merge with master
samuelgarcia cf612df
update with buffer api branch
samuelgarcia cb6ba8d
Merge branch 'add_signal_buffer_id' of github.com:samuelgarcia/python…
samuelgarcia 4714535
wip
samuelgarcia e9836d3
Merge branch 'add_signal_buffer_id' of github.com:samuelgarcia/python…
samuelgarcia 334a882
json api start hdf5 on maxwell
samuelgarcia 383ada7
doc for signal_stream signal_buffer
samuelgarcia 9c35752
Fix conflicts.
samuelgarcia 672e8fe
Merci Zach
samuelgarcia a540840
Use class approach for buffer api : BaseRawWithBufferApiIO
samuelgarcia 282951a
feedback
samuelgarcia 401956a
Apply suggestions from code review
samuelgarcia 2fa19fb
clean
samuelgarcia c729989
oups
samuelgarcia 5084fba
Merge branch 'master' of github.com:NeuralEnsemble/python-neo into js…
samuelgarcia b001c79
more clean
samuelgarcia File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Now that we have logical channels, this should be same units as well, right?
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.
At the moment not yet. The API do not enforce and ensure this.
See this https://github.com/NeuralEnsemble/python-neo/blob/master/neo/rawio/baserawio.py#L118
Ideally units should be add but some IO are mixing maybe the units in the same stream.
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.
Can we add it as an ideal? Or would you rather first do the changes and then change it here?
I can close this for example:
#1133
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.
There are some tricky cases where the units is manually done by the user for some formats.
not sure but maybe spike2 is in that case.
What should we do ? split all groups of same units in separate streams ? this could be an good idea but we need first a deeper check.
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.
Agree. I think that the concept of stream should include same unit across the stream but this we will need to solve in a case by case basis (the deeper check that you mention).