MetaDataContainer.event_roll(label_list=None, time_resolution=0.01, label='event_label')[source]

Event roll

Event roll is binary matrix indicating event activity withing time segment defined by time_resolution.


label_list : list

List of labels in correct order

time_resolution : float > 0.0

Time resolution used when converting event into event roll. Default value “0.01”

label : str

Meta data field used to create event roll Default value “event_label”


numpy.ndarray [shape=(math.ceil(data_length * 1 / time_resolution), amount of classes)]