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

Probe layout for Neuropixels 1.0 #795

Open
PiezaKake opened this issue Oct 8, 2024 · 3 comments
Open

Probe layout for Neuropixels 1.0 #795

PiezaKake opened this issue Oct 8, 2024 · 3 comments

Comments

@PiezaKake
Copy link

Hi, I am not sure which one is the correct probe layout for Neuropixels 1.0 recordings. Would that be neuropixPhase3B2_kilosortChanMap.mat?

@jacobpennington
Copy link
Collaborator

It depends on which NP1 probe you're using, and how you configured it. Both neuropixPhase3B1_kilosortChanMap.mat and neuropixPhase3B2_kilosortChanMap.mat are Neuropixels 1 probes, and you can see the channel layout in the GUI by selecting them and clicking the "preview probe" button. However, the layout we use for those defaults may or may not match your probe, since users can change which contacts are active for Neuropixels probes.

If you're unsure of your probe layout, you should use this tool to generate your own probe file from the information exported by SpikeGLX (or another tool if you recorded with something else): https://github.com/jenniferColonell/SGLXMetaToCoords

@PiezaKake
Copy link
Author

PiezaKake commented Oct 8, 2024

Thank you for the prompt reply. I recorded with Open Ephys and used the default electrode preset Bank A, which is 384 successive electrodes starting from the tip of the shank. I am using Neuropixels 1.0 (not NHP).

@jacobpennington
Copy link
Collaborator

I'm not familiar with the Open Ephys presets, so I don't know if that matches up with either of our default NP1 layouts. You would have to figure out that part on your own, either from Open Ephys documentation or from the files it created when recording. It does look like the Open Ephys probe GUI has an option to export to a ProbeInterface-formatted json file. Kilosort4 won't read those directly, but you could save to that format and then use ProbeInterface to save it as a .prb file, which Kilosort4 can read.
https://probeinterface.readthedocs.io/en/main/examples/ex_06_import_export_to_file.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants