bin_by_snr¶
- gdt.core.binning.unbinned.bin_by_snr(times, back_rates, snr, *args, **kwargs)[source]¶
Bins unbinned data by SNR
- Parameters:
times (np.array) – The time of each event
back_rates (np.array) – The background rate at the time of each event
snr (float) – The signal-to-noise ratio
- Returns:
np.array – The edges of the binned data