dirconn.ChannelMeta#
- class dirconn.ChannelMeta(name: str, type: str = 'misc', node_kind: str = 'sensor', region: str | None = None, hemisphere: str | None = None, atlas: str | None = None, pos: tuple[float, float, float] | None = None)#
Description of one channel (or node) of a time series.
- Parameters:
name (str) – Unique channel name, for example
"Cz","inferiortemporal-lh"or"STN-L".type (str) – Channel type, stored in lower case (
"eeg","mag","grad","misc", …).node_kind ({"sensor", "cortical", "direct"}) –
"sensor"for scalp or MEG sensors,"cortical"for a cortical region of interest,"direct"for an invasive channel used as-is (for example an STN LFP).region (str, optional) – Region label, for example
"inferiortemporal"or"STN".hemisphere ({"lh", "rh", "mid"}, optional) – Hemisphere of the region.
atlas (str, optional) – Atlas the region label comes from, for example
"DK".pos (tuple of float, optional) – Position as three finite coordinates in metres.
- __init__(name: str, type: str = 'misc', node_kind: str = 'sensor', region: str | None = None, hemisphere: str | None = None, atlas: str | None = None, pos: tuple[float, float, float] | None = None) None#
Methods
__init__(name[, type, node_kind, region, ...])Attributes
atlashemispherenode_kindposregiontypename