triqs.stat.histograms.pdf

triqs.stat.histograms.pdf()

Dispatched C++ function(s).

[1] (h: Histogram)
  -> Histogram

Normalize a histogram.

It simply divides each bin count by the number of in-range data points (lost points are excluded).

Note

This does not return the PDF of the underlying continuous distribution but rather the discrete probabilities that a data point falls into a certain bin.

Parameters:
hHistogram

Histogram to be normalized.

Returns:
Histogram

Normalized histogram.