split_bin_lo_hi

pyirf.binning.split_bin_lo_hi(bins)[source]

Inverted function to join_bin_hi_lo, e.g. it splits [0, 1, 2, 4] into [0, 1, 2] and [1, 2, 4]

Parameters:
bins: np.array of u.Quantity

The joint bins

Returns:
bin_lo: np.array or u.Quantity

Lo bin edges array

bin_hi: np.array or u.Quantity

Hi bin edges array