BrazilBandCollection#
- class pyhf.contrib.viz.brazil.BrazilBandCollection(cls_obs, cls_exp, one_sigma_band, two_sigma_band, test_size, clsb, clb, axes)[source]#
Bases:
pyhf.contrib.viz.brazil.BrazilBandCollection
collections.namedtuple
containing thematplotlib.artist.Artist
objects of the “Brazil Band” and the observed \(\mathrm{CL}_{s+b}\) and \(\mathrm{CL}_{b}\) — the components of the \(\mathrm{CL}_{s}\) ratio. Returned byplot_results()
.- Parameters:
cls_obs – The
matplotlib.lines.Line2D
of the \(\mathrm{CL}_{s,\mathrm{obs}}\) line.cls_exp – The
list
ofmatplotlib.lines.Line2D
of the \(\mathrm{CL}_{s,\mathrm{exp}}\) lines.one_sigma_band – The
matplotlib.collections.PolyCollection
of the \(\mathrm{CL}_{s,\mathrm{exp}}\) \(\pm1\sigma\) band.two_sigma_band – The
matplotlib.collections.PolyCollection
of the \(\mathrm{CL}_{s,\mathrm{exp}}\) \(\pm2\sigma\) band.test_size – The
matplotlib.lines.Line2D
of the test size line.clsb – The
matplotlib.lines.Line2D
of the observed \(\mathrm{CL}_{s+b}\) line.clb – The
matplotlib.lines.Line2D
of the observed \(\mathrm{CL}_{b}\) line.axes – The
matplotlib.axes.Axes
the artists are plotted on.
- __init__()#
Attributes
- axes#
Alias for field number 7
- clb#
Alias for field number 6
- cls_exp#
Alias for field number 1
- cls_obs#
Alias for field number 0
- clsb#
Alias for field number 5
- one_sigma_band#
Alias for field number 2
- test_size#
Alias for field number 4
- two_sigma_band#
Alias for field number 3
Methods