count_trig_types

lstchain.datachecks.containers.count_trig_types(array)

Counts the trigger of each type inside array

Parameters:
array: ndarray of event-wise trigger types
Returns:
an ndarray of shape (10, 2) [i, j] means we found j events of type i