vandermeerlab / data-formats

Playing around with different data formats and loaders
MIT License
1 stars 1 forks source link

Try out spikeinterfaces pipeline for continuous wideband .ncs data #11

Open mvdm opened 4 years ago

mvdm commented 4 years ago

As for issue #4, but for wideband data.

manimoh commented 4 years ago

I got the basic pipeline working for the wideband data using klusta-kwik sorter. See this notebook for more details.

manimoh commented 4 years ago

As a next step, will try to set up a pipeline to run Kilosort on this wideband data.

manimoh commented 4 years ago

Found a problem with the spikesorter implementation of KS2. Opened relevant issue here

manimoh commented 4 years ago

First pass pipeline available here!!

manimoh commented 3 years ago

A missing feature in this whole pipeline is the absence of a way to programmatically exclude certain NCS files (For example: channels that are sampled for LFP purposes) from the spikesorting process. Spikeinterface will throw an error if any NCS file in the folder has a different sampling rate and certain other properties.

This can be fixed by making changes in this file of the neo code base, since spikeinterfaces leverages that for Neuralynx files: https://github.com/NeuralEnsemble/python-neo/blob/master/examples/read_files_neo_rawio.py

I have opened an issue requesting a feature: https://github.com/NeuralEnsemble/python-neo/issues/889

But until then I will fork the python-neo repo and make changes in that, so that people in the lab can use the pipeline more comfortably.

manimoh commented 3 years ago

Update: This working example has been updated to elucidate File exclusion based on changes in a fork of the official python-neo repo.

manimoh commented 3 years ago

Update: https://github.com/vandermeerlab/data-formats/issues/5#issuecomment-754996599