dcase_util.processors.MetadataReadingProcessor.process

MetadataReadingProcessor.process(data=None, filename=None, focus_filename=None, focus_start_seconds=None, focus_stop_seconds=None, focus_duration_seconds=None, zero_time=None, trim=None, store_processing_chain=False, **kwargs)[source]

Meta data reading.

Parameters
dataMetaDataContainer

Input meta data

filenamestr

Filename of the meta data container to load.

focus_start_secondsfloat > 0.0

Segment start, seconds

focus_stop_secondsfloat > 0.0

Segment end, seconds

focus_duration_secondsfloat

Segment duration, seconds

focus_filenamestr

Filename to filter

zero_timebool

Convert timestamps in respect to the segment start

trimbool

Trim event onsets and offset according to segment start and stop times.

store_processing_chainbool

Store processing chain to data container returned Default value False