dcase_util.containers.DataArrayContainer.get_frames

DataArrayContainer.get_frames(frame_ids=None, frame_hop=1, **kwargs)

Get frames from data array.

Parameters
frame_idslist of int, optional

Frame ids of frames to be included. Default value None

frame_hopint, optional

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

Returns
numpy.array