Binning and Histogram Utilities
Reference/API
pyirf.binning Module
Utility functions for binning
Functions
|
Add under and overflow bins to a bin array. |
|
|
|
Calculate bin indices of inidividula entries of the given data array using the supplied binning. |
|
Create a bin array with bins equally spaced in logarithmic energy with |
|
Histogram a variable from events data into an astropy table. |
|
Function joins bins into lo and hi part, e.g. [0, 1, 2] and [1, 2, 4] into [0, 1, 2, 4] It works on multidimentional arrays as long as the binning is in the last axis. |
|
Rebinning of a histogram by interpolation along a given axis. |
|
Inverted function to join_bin_hi_lo, e.g. it splits [0, 1, 2, 4] into [0, 1, 2] and [1, 2, 4]. |