2.2.3.9. sdepy.montecarlo.density_histogram¶
-
montecarlo.
density_histogram
()[source]¶ Distribution of the cumulated sample data, as a normalized counts histogram.
Returns a
(counts, bins)
tuple of arrays representing the one-dimensional density histogram data of the distribution of cumulated samples (as returned bynumpy.histogram
, the sum of the counts times the bins’ widths is 1).May systematically over-estimate the probability distribution within the bins’ boundaries if part of the cumulated samples data (accounted for in the
outpaths
property andouterr
method) fall outside.