Closed Tevin-yue closed 2 months ago
I think the info is also stored in the header. You could work at the rawio level if you aren't worried about blocks and segments. So instead:
from neo.rawio import IntanRawIO
reader = IntanRawIO(r'xx')
reader.parse_header()
header = reader.header
header is a dict that should contain that info without going through blocks and segments. So it is flatter than how you are currently accessing the data.
@Tevin-yue actually sorry one tiny mistake. you want global info so
global_info = reader._global_info
that will have the notes stored as the dict :)
Thanks a lot!
Hi,
For the IntanIO function, I think there could be a more convenient way to get notes from the data. Currently, I can get that with this code:
So is there any possibility there can be an easier way to get that?