-
Notifications
You must be signed in to change notification settings - Fork 266
[wip] implement new OpenEphysIO class for the new format. #908
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
[wip] implement new OpenEphysIO class for the new format. #908
Conversation
|
Hello @samuelgarcia! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:
|
|
See #654 |
|
Here I propose that Note that it is not a new version of the format but a total refactor since 2017. Having the 2 formats in one class will make it super uggly and hard to maintain. I prefer to have the the name OpenEphysIO for the new format. It will make test transition difficults because I will also need to modify folder name at gin gnode. Please if your are unhappy with the naming tell me quickly. |
|
Is this the format of the new neuropixel OpenEphys recordings? |
|
Hi Ben. The old class was implemented this one: I am not aware of a specific format for NP in the OpenEphys suite. Many people use spikeglx for NP. I have implemented it here : #896 If what you mention is something else could send a link, please ? |
|
@samuelgarcia Thanks. yes, SpikeGLX is often used, but OpenEphys also has NP capability which is being used by some labs. I'll investigate their data types and see if it matches what you have listed. |
|
@samuelgarcia Sorry for the late feedback. I am not sure if 'old' and 'new' are good ways to distinguish the two versions. Maybe it would be better to use a postfix based on the version used by OpenEphys? |
|
Hi all, just to offer some points of clarification:
I would recommend keeping the |
|
Thank Josh and Juilia for the feedback on naming. |
|
@samuelgarcia did you ever start that other PR on this? We need a |
|
About effort on porting reader to neo: About openephys: |
|
Yes, I started looking into this but there is no running version yet. I hope to finish this soon, unless someone else is interested in digging into this. |
|
@JuliaSprenger I can help :) |
|
@alejoe91 : you don't time for this |
|
Then maybe you can tell me if my change in approach makes sense to you. At first I started parsing the folders and files, like @samuelgarcia did in his first approach, but effectively I think it's better to use the structural files to do everything required for parsing the headers etc and only possibly validate later on that this corresponds to the actual folders & files being present. @alejoe91 Or do you have a better approach in mind? |
|
I think that using the |
|
@alejoe91 If you know of any code that can be used for the validation part, that would be helpful. |
|
What kind of validation do you have in mind? Wouldn't running neo tests be sufficient? |
|
No, I was thinking about a validation that compares the infos in the |
I see. To start with the number of channel and frames should be consistent. I don't know what else you could check for..I'll comment if I come up with other ideas |
|
@JuliaSprenger any progress on this? We are trying to convert some binary open ephys data and would like to read it via neo. |
|
started again here : #945 |
No description provided.