python-neo icon indicating copy to clipboard operation
python-neo copied to clipboard

Neuralynx reading error: Incompatible section structures across streams

Open eduardosand opened this issue 2 years ago • 1 comments

Hello all,

I'm reading in a few neuralynx datasets, and something I've been coming across is a value error when parsing the header. At first I thought it had to with simultaneous EEG and SU recordings (where EEG is at 5K sample rate, and microLFP at 32K). Upon further investigation, I think it has to do with segments (EEG files have 55 segments, and microLFP files have 57 segments). Is there any way to get past this easily? I see an exclude parameter in the class, but does this accept a list of filenames so I can generate two IO classes (one EEG and one microLFP)?

eduardosand avatar Jun 05 '23 22:06 eduardosand

Hi @eduardosand, yes, the exclude_filename parameter accepts a list of filenames, see also the corresponding docstring.

JuliaSprenger avatar Jun 06 '23 09:06 JuliaSprenger