.. _book_fig_chapter5_fig_signal_background: Finding a signal in a background -------------------------------- Figure 5.26 Fitting a model of a signal in an unknown background. The histogram in the top-right panel visualizes a sample drawn from a Gaussian signal plus a uniform background model given by eq. 5.83 and shown by the line. The remaining panels show projections of the three-dimensional posterior pdf, based on a 20,000 point MCMC chain. .. image:: ../images/chapter5/fig_signal_background_1.png :scale: 100 :align: center .. raw:: html
**Code output:** .. raw:: html
.. literalinclude:: fig_signal_background.txt .. raw:: html
**Python source code:** .. raw:: html
.. literalinclude:: fig_signal_background.py :lines: 12- .. raw:: html
:download:`[download source: fig_signal_background.py] ` .. raw:: html