bemobil_mne.preproc.get_stimulus_rename_map#
- bemobil_mne.preproc.get_stimulus_rename_map(descriptions)[source]#
Build an event rename map from
trialStartannotation descriptions.Parses
condition:<name>andstimulus:<name>fields out of eachtrialStartannotation and produces a mapping from the raw description string to a"condition/stimulus"label, plus a label-to-integer ID lookup.- Parameters:
- Returns:
- Parameters:
- Return type: