gen_labels¶
- gen_labels(info: Info, sub: str = None, subj_dir: str = None, atlas: str = '.a2009s', picks: list[str] = None) OrderedDict[str, list[str]][source][source]¶
Generates the labels for the electrodes
- Parameters:
info (
mne.Info) – The subject to get the labels forsub (
str, optional) – The subject to get the labels for, by default Nonesubj_dir (
PathLike, optional) – The subjects directory, by default Nonepicks (
list[str | int], optional) – The channels to plot, by default Noneatlas (
str, optional) – The atlas to use, by default “.a2009s”
- Returns:
The labels for the electrodes
- Return type:
dict[str,list]