physt.compat package

Submodules

physt.compat.dask module

Dask-based and dask oriented variants of physt histogram facade functions.

physt.compat.dask.h1(data, bins=None, *args, **kwargs)

Facade function to create one-dimensional histogram using dask.

Parameters:data (dask.DaskArray or array-like) –
physt.compat.dask.h2(data1, data2, bins=None, *args, **kwargs)

Facade function to create 2D histogram using dask.

physt.compat.dask.h3(data, *args, **kwargs)

Facade function to create 3D histogram using dask.

physt.compat.dask.histogram1d(data, bins=None, *args, **kwargs)

Facade function to create one-dimensional histogram using dask.

Parameters:data (dask.DaskArray or array-like) –
physt.compat.dask.histogram2d(data1, data2, bins=None, *args, **kwargs)

Facade function to create 2D histogram using dask.

physt.compat.dask.histogramdd(data, bins=None, *args, **kwargs)

Facade function to create multi-dimensional histogram using dask.

physt.compat.geant4 module

Support for Geant4 histograms saved in CSV format.

physt.compat.geant4.load_csv(path)

Loads a histogram as output from Geant4 analysis tools in CSV format.

Parameters:path (str) – Path to the CSV file
Returns:
Return type:physt.histogram1d.Histogram1D or physt.histogram_nd.Histogram2D

Module contents

Histograms types and function for various external libraries.