Error reading OpenEphys legacy format with neo
See original GitHub issueHi @samuelgarcia! Here is the issue for the reading of OpenEphys legacy format I told you in Lyon school. The problem come from neo library, the reading is not working if we have CH and ADC channels, but working if we have only one type of channel. The error I got:
File "/datas/Théo/Spikesorting/Test1Spikeinterface.py", line 24, in <module>
recording = se.read_openephys(folder_path)
File "/datas/Théo/Spikesorting/venv/python/lib/python3.8/site-packages/spikeinterface/extractors/neoextractors/openephys.py", line 108, in read_openephys
recording = OpenEphysLegacyRecordingExtractor(folder_path, **kwargs)
File "/datas/Théo/Spikesorting/venv/python/lib/python3.8/site-packages/spikeinterface/extractors/neoextractors/openephys.py", line 38, in __init__
NeoBaseRecordingExtractor.__init__(self, stream_id=stream_id, **neo_kwargs)
File "/datas/Théo/Spikesorting/venv/python/lib/python3.8/site-packages/spikeinterface/extractors/neoextractors/neobaseextractor.py", line 26, in __init__
_NeoBaseExtractor.__init__(self, **neo_kwargs)
File "/datas/Théo/Spikesorting/venv/python/lib/python3.8/site-packages/spikeinterface/extractors/neoextractors/neobaseextractor.py", line 16, in __init__
self.neo_reader.parse_header()
File "/datas/Théo/Spikesorting/venv/python/lib/python3.8/site-packages/neo/rawio/baserawio.py", line 185, in parse_header
self._parse_header()
File "/datas/Théo/Spikesorting/venv/python/lib/python3.8/site-packages/neo/rawio/openephysrawio.py", line 176, in _parse_header
stream_ids = stream_ids[order]
IndexError: index 32 is out of bounds for axis 0 with size 2
It seems that the CH and ADC channels name splitting is wrong. Thank you for help 😉
Issue Analytics
- State:
- Created 2 years ago
- Comments:29 (16 by maintainers)
Top Results From Across the Web
Neo RawIO — Neo 0.11.1 documentation
The neo.rawio is close to what could be a C API for reading data but in ... This class implements the legacy OpenEphys...
Read more >spikeinterface / - extractors / - neoextractors - Program Talk
There are 2 openephys reader: * OpenEphysLegacyRecordingExtractor: old one aka "open ... This open the openephys "legacy" format: one file per channel.
Read more >Data format - Open Ephys wiki - Confluence
Open Ephys format stores data in a binary file that contains both the data samples and markers that allow data to be recovered...
Read more >The Neurodata Without Borders ecosystem for ... - eLife
Having pre-synchronized data in the same format enables faster and less error-prone development of analysis and visualizations tools that ...
Read more >Data Analysis Framework for Microneurography - ResearchGate
Find, read and cite all the research you need on ResearchGate. ... formats supported by Neo include, e.g., Spike2 and OpenEphys formats ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi Chris, Cool to see you here. I really to fix this soon. I am procrastinating a bit on that particular point. The todo list is so big! I promise I will do it soon.
@eejd can you open an issue in Neo?