SpikeInterface / spikeinterface

A Python-based module for creating flexible and robust spike sorting pipelines.
https://spikeinterface.readthedocs.io
MIT License
501 stars 185 forks source link

Support for syncing data from multiple Neuropixels as well as an NIDQ device when using SpikeGLX for acquisition #2234

Open manimoh opened 10 months ago

manimoh commented 10 months ago

Hi! I was wondering if there was a functionality on syncing all the data-streams from 1 or more NPX probes as well as the analog digital channels on the NIDQ device, when using SpikeGLX for acquisition. While SpikeGLX provides command-line functionality to sync individual timestamps (spike timing, event onset etc) across various devices using their 'TPrime' command, there is no way to synchronize the the continuous data-streams acquired on different devices (for example LFP channels from 2 different Neurpixels probes, and an analog channel on the NIDQ device which actually recordings the running speed of the animals).

I see that there is some work in progress here, but was wondering if that function will satisfy the requirements I am asking about, or are there alternate ways to achieve it!

samuelgarcia commented 10 months ago

Hi Manish. This is on my todo list since almost 1.5 years! I swear I will do it for christmas but I prefer to not tell which year :)

I have private code somewhere that is doing this I need to propagate to that place this should be quite easy. Leave this issue open and feel free to write "ping" in the discussion every 2 weeks.

manimoh commented 10 months ago

I actually would appreciate this functionality for my own use -- happy to help debug/test it :)

manimoh commented 10 months ago

"ping" @samuelgarcia :)

manimoh commented 8 months ago

Sorry for being annoying, but "ping"

samuelgarcia commented 8 months ago

Hi @manimoh. Thank you the recurent ping. I am quite busy witha big refactporing the month. Do not stop the ping! After this big work I will try to implement your need in spikeinterface. Sorry for the very long delay. Have a nice day.

manimoh commented 5 months ago

"Ping"

TheChymera commented 3 months ago

@samuelgarcia still interested in this? we need it for conversion of our neuropixels data.