dcase_util.containers.DataMatrix2DContainer.get_frames

DataMatrix2DContainer.get_frames(frame_ids=None, vector_ids=None, frame_hop=1)[source]

Get frames from data matrix.

Parameters
frame_idslist of int, optional

Frame ids of frames to be included. Default value None

vector_idslist of int, optional

Data ids of frame’s data vector to be included. Default value None

frame_hopint, optional

Frame hopping factor, with one every frame is included. Default value 1

Returns
numpy.ndarray