dcase_util.containers.MetaDataContainer.map_events

MetaDataContainer.map_events(target_event_label, source_event_labels=None)[source]

Map events with varying event labels into single target event label

Parameters
target_event_labelstr

Target event label

source_event_labelslist of str

Event labels to be processed. If none given, all events are merged Default value None

Returns
MetaDataContainer