span><span class="s2">&quot;Only one of [&#39;likelihood&#39;, &#39;prediction&#39;, &#39;posterior&#39;] is supported, got </span><span class="si">{</span><span class="n">estimation_method</span><span class="si">}</span><span class="s2">&quot;</span><span class="p">)</span></div>

        
<div class="viewcode-block" id="OnOff.simulate_for_critical_values">
<a class="viewcode-back" href="../../../lf2i.simulator.html#lf2i.simulator.hep.OnOff.simulate_for_critical_values">[docs]</a>
    <span class="k">def</