eegdash.io.nwb module#

Read the voltage series of an NWB file as a lazy MNE Raw (h5py only).

MNE has no NWB reader (mne-tools/mne-python#10427) and MNE-BIDS raises for .nwb. Written to move to mne/io/nwb/ (draft: upstream/nwb.md); eegdash.io.READERS switches to MNE’s as soon as mne.io.read_raw_nwb exists.

The series is the file’s one ElectricalSeries; without one, its one generic TimeSeries with 2-D data in a voltage unit (nm000369 “microvolts” at a starting_time rate, nm000371 “µV” with per-sample timestamps).

class eegdash.io.nwb.RawNWB(fname, *, preload=False, verbose=None)[source]

Bases: BaseRaw

Raw object for the voltage series of an NWB file (channels: sEEG).

eegdash.io.nwb.read_raw_nwb(fname, *, preload=False, verbose=None)[source]

Read the voltage series of an NWB file; see RawNWB.