time_to_spill¶
- gdt.core.binning.unbinned.time_to_spill(times, threshold, *args, **kwargs)[source]¶
Time-to-Spill binning for an event list. Bins an event list by accumulating counts until the set threshold is reached, and then creates a new bin.
- Parameters:
times (np.array) – The time of each event
threshold (int) – The count threshold for the histogram
- Returns:
np.array – The edges of the binned data