mirror of
https://github.com/vale981/bachelor_thesis
synced 2025-03-06 01:51:38 -05:00
adjust the discussion of σ for VEGAS
This commit is contained in:
parent
895fb300ce
commit
acbab6b3de
1 changed files with 5 additions and 4 deletions
|
@ -309,7 +309,8 @@ occuring, the improvement is rather marginal.
|
|||
|
||||
And yet again export that as tex.
|
||||
#+begin_src jupyter-python :exports both :results raw drawer
|
||||
tex_value(*xs_pb_η, unit=r'\pico\barn', prefix=r'\sigma = ', save=('results', 'xs_mc_eta.tex'))
|
||||
tex_value(*xs_pb_η, unit=r'\pico\barn', prefix=r'\sigma = ',
|
||||
save=('results', 'xs_mc_eta.tex'))
|
||||
#+end_src
|
||||
|
||||
#+RESULTS:
|
||||
|
@ -371,7 +372,7 @@ Let's battle test the statistics.
|
|||
|
||||
So we see: the standard deviation is sound.
|
||||
|
||||
Doing the same thing with =VEGAS= shows, that we overestimate σ here.
|
||||
Doing the same thing with =VEGAS= works as well.
|
||||
#+begin_src jupyter-python :exports both :results raw drawer
|
||||
num_runs = 1000
|
||||
num_within = 0
|
||||
|
@ -671,8 +672,8 @@ Let's define some little helpers.
|
|||
for increment in increment_borders[2:-1]:
|
||||
ax.axvline(x=increment, *args, **kwargs)
|
||||
|
||||
def plot_vegas_weighted_distribution(ax, points, dist, increment_borders, *args,
|
||||
,**kwargs):
|
||||
def plot_vegas_weighted_distribution(ax, points, dist,
|
||||
increment_borders, *args, **kwargs):
|
||||
"""Plot the distribution with VEGAS weights applied.
|
||||
|
||||
:param ax: axis
|
||||
|
|
Loading…
Add table
Reference in a new issue