The histogram module

pylife.stress.histogram.combine_hist(hist_list, method='sum', nbins=64)[source]

Performs the combination of multiple Histograms.

Parameters:
  • hist_list (list) – list of histograms with all histograms (saved as DataFrames in pyLife format)
  • method (str) – method: ‘sum’, ‘min’, ‘max’, ‘mean’, ‘std’ default is ‘sum’
  • nbins (int) – number of bins of the combined histogram
Returns:

  • DataFrame – Combined histogram
  • list – list with the reindexed input histograms