Skip to content
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

NPX2.0 with OpenEphys files #3602

Open
castro-lab opened this issue Jan 8, 2025 · 4 comments · May be fixed by #3624
Open

NPX2.0 with OpenEphys files #3602

castro-lab opened this issue Jan 8, 2025 · 4 comments · May be fixed by #3624
Labels
question General question regarding SI

Comments

@castro-lab
Copy link

Hello, I see in the documentation an example of how to analyze NeuroPixels data recorded using spikeglx. Do you have an example using OpenEphys files? If not, any differences to consider vs the spikeglx code?
Thanks

@JoeZiminski
Copy link
Collaborator

Hi @castro-lab, you can use the read_openephys function (instead of read_spikeglx) to read OpenEphys. Otherwise, the preprocessing / sorting function calls should be the same, let us know if you run into any problems.

@castro-lab
Copy link
Author

Hi @JoeZiminski, Thanks for the tip! As per the image, I could load it by specifying the 0-based block_index but not using the experiment_names. The folder has 4 experiments. How does the experiment_names work?

image

@zm711
Copy link
Collaborator

zm711 commented Jan 13, 2025

@castro-lab we probably need to see what the actual error is. Also are the names actually experiment1 etc. You would need to use the actual names to load them if they exist. block_index according to the doc also seems to load only one experiment at the time.

So basically could you post your stack trace for us so we can help you more :)

@zm711 zm711 added the question General question regarding SI label Jan 13, 2025
@alejoe91
Copy link
Member

I think it would be nice to add the experiment name as an annotation. I'll make a PR to add it :)

@alejoe91 alejoe91 linked a pull request Jan 15, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question General question regarding SI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants