baby.io.find_indices

baby.io.find_indices(groups, chunk_size, return_max=True)

Receives the output of contiguous ones and returns a list with the indices of contiguous timepoints