bin_edge_summary#
- sunkit_image.utils.utils.bin_edge_summary(r, binfit)[source]#
Return a summary of the bin edges.
- Parameters:
r (
numpy.ndarray
) – An array of bin edges of shape (2, nbins) where nbins is the number of bins.binfit ({'center' | 'left' | 'right'}) – How to summarize the bin edges.
- Returns:
numpy.ndarray
– A one dimensional array of values that summarize the location of the bins.