eelbrain.pipeline.RawSource
- class eelbrain.pipeline.RawSource(sysname=None, rename_channels=None, montage=None, adjacency=None, **kwargs)
Raw data source
- Parameters:
sysname (str) – Used to determine sensor positions (not needed for KIT files, or when a montage is specified).
rename_channels (dict) – Rename channels based on a
{from: to}dictionary. This happens after calling thereader, and before applying themontage. Useful to convert system-specific channel names to those of a standard montages.montage (str) – Name of a montage that is applied to raw data to set sensor positions (see
mne.io.Raw.set_montage()).adjacency (str | list[tuple[str, str]] | Path) –
Ajacency between sensors. Can be specified as:
'auto'to usemne.channels.find_ch_adjacency()Pre-defined adjacency (one of
mne.channels.get_builtin_ch_adjacencies())Path to load adjacency from a file
"none"for no connections"grid"for grid connectionslist of connections (e.g.,
[('OZ', 'O1'), ('OZ', 'O2'), ...])numpy.ndarrayof int, shape (n_edges, 2), to specify connections in terms of indices. Each row should specify one connection [i, j] with i < j. If the array’s dtype is uint32, property checks are disabled to improve efficiency.
If unspecified, it is inferred from
sysnameif possible....