SpikeInterface / spikeinterface

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

`TdtRecordingExtractor` not reading signal streams correctly for multi-block experiment #1882

Open weiglszonja opened 1 year ago

weiglszonja commented 1 year ago

This experiment from @JBFord has 3 signal streams with mult-block (10 blocks) setup, the reader TdtRawIO can parse the header but TdtRecordingExtractor returns empty list of times and traces, sampling frequency is 1, the data type is int. The data for one of the blocks look like https://gin.g-node.org/NeuralEnsemble/ephy_testing_data/src/master/tdt/aep_05/Block-1 but also have multiple SEV files like in https://gin.g-node.org/NeuralEnsemble/ephy_testing_data/src/master/tdt/dataset_1_single_block.

@JuliaSprenger have you seen similar before with multiple data streams and multiple block example?

JuliaSprenger commented 1 year ago

Hi @weiglszonja, yes, I have seen this with some other datasets already. The base of the issue is that the TdT format comes in many different flavours and it seems not all streams are picked up correctly yet for all of them. I guess your issue is the same as https://github.com/NeuralEnsemble/python-neo/issues/1286 ?