Hi,
I've been working on creating a new subclass of BaseRaw that can read from a NWB file. These are organized hdf files that can store multiple types of data streams including those with different sampling rates, sizes from different sources (such as eye-tracking, seeg, scalp eeg, audio etc.). Because they're hdf files they have lazy loading. It would be nice to have a RawNWB object and/or a read_raw_nwb() function so that MNE can work with these types of files. Attached is a link to a gist I made with some example code for reading/writing NWB files (Part 1) and some code snippets I've made to get started with creating a RawNWB object (Part 2). The thing I mostly struggling with is creating the read_segment_file() function. Any insight or help would be greatly appreciated.
https://gist.github.com/sportnoah14/b74f1226c09bd79aa7f7ec7b11af80c9
pynwb docs
Hi,
I've been working on creating a new subclass of
BaseRawthat can read from a NWB file. These are organized hdf files that can store multiple types of data streams including those with different sampling rates, sizes from different sources (such as eye-tracking, seeg, scalp eeg, audio etc.). Because they're hdf files they have lazy loading. It would be nice to have aRawNWBobject and/or aread_raw_nwb()function so that MNE can work with these types of files. Attached is a link to a gist I made with some example code for reading/writing NWB files (Part 1) and some code snippets I've made to get started with creating aRawNWBobject (Part 2). The thing I mostly struggling with is creating theread_segment_file()function. Any insight or help would be greatly appreciated.https://gist.github.com/sportnoah14/b74f1226c09bd79aa7f7ec7b11af80c9
pynwb docs