NeuralEnsemble / python-neo

Neo is a package for representing electrophysiology data in Python, together with support for reading a wide range of neurophysiology file formats
http://neo.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
325 stars 248 forks source link

Handle more complex metadata in NWB files #1502

Open apdavison opened 4 months ago

apdavison commented 4 months ago

This PR attempts to address the problems in #1413.

It is a work in progress. The first commit lets the example script run through without errors on my machine, but I plan to take more time to check that the Neo data are an accurate representation of the NWB file contents.

Moritz-Alexander-Kern commented 4 months ago

Hey, thanks for looking into this.

Indeed, now I can load the .nwb -files from the DANDI archives without errors.

I get some warnings and 542 neo.SpikeTrain and 4 neo.IrregularlySampledSignal objects.

Unfortunately I don't know what to expect, I was trying to inspect the .nwb file using the pynwb package.

See the following .ipynb notebook https://gist.github.com/Moritz-Alexander-Kern/93412334080a1ce021f2df9ec06244c5