XArray-Histogram documentation#

This package allows to compute histograms from and to XArray data. It relies on the Boost Histogram library giving better performances compared to numpy.histogram() and the existing xhistogram. It also brings features such as integer/discrete bins or periodic bins.

Dask arrays are supported.

Vectorized manipulation and analysis of the resulting histogram(s) is provided via an XArray accessor.

Installation#

  • From PyPI:

    pip install xarray-histogram
    
  • From source:

    git clone https://github.com/Descanonge/xarray-histogram
    cd xarray-histogram
    pip install -e .
    

Indices and tables#