analyzer.postprocessing.plots.plots_1d

Functions

getRatioAndUnc(num, den[, uncertainty_type])

plotOne(histograms, stacked_hists, common_metadata, ...)

makeStrHist(data, ax_name)

plotDictAsBars(items, common_meta, output_path, ...[, ...])

makeRatioAxes(ratio_height)

computeRatio(n, d[, normalize, ratio_type])

computeSignificance(n, d[, normalize, ratio_type])

plotRatioErrorBars(ratio_ax, x_values, ratio, unc, style)

plotStackedDenominators(ax, denominators, styler[, ...])

plotUnstackedDenominators(ax, denominators, styler, *, ...)

plotMultiNumerators(ax, ratio_ax, numerators, ...[, ...])

plotSingleNumeratorMultiDen(ax, ratio_ax, numerator, ...)

plotRatio(denominator, numerators, output_path, style_set)

plotRatioOfRatios(num_numerator, num_denominator, ...)

plotModel(data, backgrounds, signal, output_path, ...)

Module Contents

analyzer.postprocessing.plots.plots_1d.getRatioAndUnc(num, den, uncertainty_type='poisson-ratio')[source]
analyzer.postprocessing.plots.plots_1d.plotOne(histograms, stacked_hists, common_metadata, output_path, style_set, scale='linear', normalize=False, plot_configuration=None, show_stacked_unc=True)[source]
analyzer.postprocessing.plots.plots_1d.makeStrHist(data, ax_name)[source]
analyzer.postprocessing.plots.plots_1d.plotDictAsBars(items, common_meta, output_path, getter, style_set, ax_name=None, normalize=False, scale='linear', plot_configuration=None)[source]
analyzer.postprocessing.plots.plots_1d.makeRatioAxes(ratio_height)[source]
analyzer.postprocessing.plots.plots_1d.computeRatio(n, d, normalize=False, ratio_type='poisson')[source]
analyzer.postprocessing.plots.plots_1d.computeSignificance(n, d, normalize=False, ratio_type='poisson')[source]
analyzer.postprocessing.plots.plots_1d.plotRatioErrorBars(ratio_ax, x_values, ratio, unc, style)[source]
analyzer.postprocessing.plots.plots_1d.plotStackedDenominators(ax, denominators, styler, normalize=False)[source]
analyzer.postprocessing.plots.plots_1d.plotUnstackedDenominators(ax, denominators, styler, *, normalize)[source]
analyzer.postprocessing.plots.plots_1d.plotMultiNumerators(ax, ratio_ax, numerators, den_total, styler, normalize, ratio_type, x_values, ratio_func=computeRatio, show_den_unc=True)[source]
analyzer.postprocessing.plots.plots_1d.plotSingleNumeratorMultiDen(ax, ratio_ax, numerator, den_to_plot, den_styles, styler, normalize, ratio_type, x_values, ratio_func=computeRatio)[source]
analyzer.postprocessing.plots.plots_1d.plotRatio(denominator, numerators, output_path, style_set, normalize=False, ratio_ylim=(0, 2), ratio_type='poisson', scale='linear', plot_configuration=None, no_stack=False, ratio_hlines=(1.0,), ratio_height=0.3)[source]
analyzer.postprocessing.plots.plots_1d.plotRatioOfRatios(num_numerator, num_denominator, den_numerator, den_denominator, output_path, style_set, r1_label='Ratio 1', r2_label='Ratio 2', double_ratio_label='Ratio of Ratios', normalize=False, ratio_ylim=(0, 2), ratio_type='poisson', scale='linear', plot_configuration=None, ratio_hlines=(1.0,), ratio_height=0.3)[source]
analyzer.postprocessing.plots.plots_1d.plotModel(data, backgrounds, signal, output_path, style_set, normalize=False, ratio_ylim=(0, 2), ratio_type='poisson', scale='linear', plot_configuration=None, ratio_hlines=(1.0,), ratio_height=0.3)[source]