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 map _ older versions of open_ephys ( 0.5 ) #628

Open
Aryo-Zare opened this issue Sep 16, 2024 · 4 comments
Open

probe map _ older versions of open_ephys ( 0.5 ) #628

Aryo-Zare opened this issue Sep 16, 2024 · 4 comments

Comments

@Aryo-Zare
Copy link

I have some older neuropixels data that I would like to revive. I guess they were recorded by open-ephys GUI version 0.5… .
I was naiive at that time & did not export selected electrode contact locations for each channel ( μm from the tip ) as probeInterface JSON files via the npx plugin in GUI.
In the newer versions of the GUI these electrode contact location information are internally saved in the recording files ( I guess in setings.xml or structure.oebin ).
However, I’m not sure about the older versions of the GUI.

I attached two related files. I converted both files to json, as github did not support .xml & .oebin.
settings.xml.json
structure.oebin.json
Would you please tell me if there is any probe-map or similar electrode location information for each channel, present in these files ?

@jsiegle
Copy link
Member

jsiegle commented Sep 16, 2024

The settings.xml file has information about the selected bank for each channel (e.g. CH0="0"). You can use that to figure out the electrode locations in microns as follows:

channel = 12 # number between 0 and 383
bank = 1 # 0, 1, or 2
xpositions = [27, 59, 11, 43]
xpos = xpositions[channel % 4]
ypos = ((channel + 384 * bank) - channel % 2) * 10 

This assume you're using a 10 mm NHP probe with staggered site layout.

@Aryo-Zare
Copy link
Author

That’s a relief !
Thanks a lot for your comlete & swift response.

@Aryo-Zare
Copy link
Author

My I still ask a question ?
I could extract the individual channel locations.
However, in GUI version 0.5.5.3, there is always one channel’s ‘bank’ information missing : this channel is always channel number 191 !! I tested this in various experiments.
In GUI version 0.6.4, this bank information is also included, for all channels with none of them missing.

How can I find the bank information for channel 191, & why is always this specific channels’ info missing ?

@jsiegle
Copy link
Member

jsiegle commented Sep 25, 2024

Channel 191 is always the internal reference. It doesn't record any signals, so the bank does not matter.

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