cogpy.io.ieeg_io

BIDS iEEG reader for intracranial EEG .dat files.

Note

Lab-internal module. Assumes the Bhatt Lab BIDS-iEEG directory layout and sidecar conventions. Not part of the stable public API — external users should prefer cogpy.io.converters.

Functions

load_ieeg_metadata

Load metadata from BIDS sidecar files.

from_file

Create an xarray.DataArray from a .dat file.

Example

from cogpy.io import ieeg_io
da = ieeg_io.from_file('sub-01_ses-01_task-free_ieeg.lfp')

Functions

from_file(dat_file[, meta_file, grid, ...])