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 for

  • sub (str, optional) – The subject to get the labels for, by default None

  • subj_dir (PathLike, optional) – The subjects directory, by default None

  • picks (list[str | int], optional) – The channels to plot, by default None

  • atlas (str, optional) – The atlas to use, by default “.a2009s”

Returns:

The labels for the electrodes

Return type:

dict[str, list]