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

Loading SpikeGLX survey mode recordings #2804

Open
JulesLebert opened this issue May 4, 2024 · 2 comments
Open

Loading SpikeGLX survey mode recordings #2804

JulesLebert opened this issue May 4, 2024 · 2 comments
Labels
extractors Related to extractors module

Comments

@JulesLebert
Copy link
Contributor

JulesLebert commented May 4, 2024

Hello,
SpikeGLX has a Survey mode (https://vimeo.com/783581937) to map the activity of all the banks on a neuropixels probe. It would be very useful to load these sessions in spikeinterface to compute some metrics on the entire probe. I imagine one way would be to aggregate the channels of the different bank recordings into one recording as if they were recorded simultaneously.

Here is some code from Jennifer Colonell that loads such recording in Matlab: https://github.com/jenniferColonell/SpikeGLX_Datafile_Tools/blob/main/MATLAB/SGLX_readMeta.m, function svyBankTimes.

The main difference with a normal recording is the addition of the field ~svySBTT in the metadata, indicating the start sample for each shank/bank. I am unsure what the two sample numbers for each bank correspond to. My guess is that the first sample is when the recording changes bank and the second is when the amplifiers have settled.

I am including a file with such survey mode recording. Note that there is nothing interesting in this recording as it's just a probe in the air with a survey of only 5s per bank.

Onedrive link to the compressed recording

@alejoe91 alejoe91 added the extractors Related to extractors module label May 6, 2024
@alejoe91
Copy link
Member

alejoe91 commented May 6, 2024

Thanks @JulesLebert

Realistically, we won't have time to tackle this before mid June. Maybe you'd like to take a stab at it?

@JulesLebert
Copy link
Contributor Author

Thanks @JulesLebert

Realistically, we won't have time to tackle this before mid June. Maybe you'd like to take a stab at it?

Unfortunately, I will not have time to do this before at least October/November this year. But I would be happy to try then!

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

No branches or pull requests

2 participants