dcase_util.containers.MetaDataContainer.filter

MetaDataContainer.filter(filename=None, file_list=None, scene_label=None, scene_list=None, event_label=None, event_list=None, tag=None, tag_list=None, identifier=None, identifier_list=None, dataset=None, dataset_list=None, source_label=None, source_label_list=None, **kwargs)[source]

Filter content

Parameters
filenamestr, optional

Filename to be matched Default value None

file_listlist, optional

List of filenames to be matched Default value None

scene_labelstr, optional

Scene label to be matched Default value None

scene_listlist of str, optional

List of scene labels to be matched Default value None

event_labelstr, optional

Event label to be matched Default value None

event_listlist of str, optional

List of event labels to be matched Default value None

tagstr, optional

Tag to be matched Default value None

tag_listlist of str, optional

List of tags to be matched Default value None

identifierstr, optional

Identifier to be matched Default value None

identifier_listlist of str, optional

List of identifiers to be matched Default value None

datasetstr, optional

Dataset identifier to be matched Default value None

dataset_listlist of str, optional

List of dataset identifiers to be matched Default value None

source_labelstr, optional

Source label to be matched Default value None

source_label_listlist of str, optional

List of source labels to be matched Default value None

Returns
MetaDataContainer