dcase_util.data.Sequencer.sequence

Sequencer.sequence(data, shift=None, **kwargs)[source]

Convert 2D data matrix into sequence of specified length 2D matrices

Parameters
dataDataContainer or numpy.ndarray

Data

shiftint

Sequencing grid shift in frames. If none given, one given for class initializer is used. Value is kept inside data size. Parameter value is stored as new class stored value. Default value None

Returns
DataMatrix3DContainer