inverse_map_events

mne.events.inverse_map_events(ev: np.ndarray, evid: dict)

Inverse map of events in evid -> use numbers in evid values if present

Parameters

Name Type Description Default
ev np.ndarray Events to be mapped. required
evid dict Mapping dictionary. required

Returns

Name Type Description
np.ndarray Mapped events with the evid values in the third column.