cogpy.io.ieeg_sidecars

BIDS iEEG sidecar readers — JSON metadata, channel TSVs, electrode TSVs.

Note

Lab-internal module. Assumes the Bhatt Lab BIDS-iEEG sidecar conventions. Not part of the stable public API.

Functions

load_ieeg_metadata(meta_source[, default_dtype])

Orchestrator: Resolves sidecar paths.

read_ieeg_channels(meta_source_path)

read_ieeg_electrodes(meta_source_path[, ...])

Read BIDS _electrodes.tsv and return per-channel + grid metadata.

read_ieeg_json(lfp_path)

Reads the mandatory JSON sidecar.

Classes

IEEGMetadata(fs, nch, dtype[, nrow, ncol, ...])