Skip to content

Commit

Permalink
Merge bb10004 into c1a331b
Browse files Browse the repository at this point in the history
  • Loading branch information
wkerzendorf committed Apr 30, 2014
2 parents c1a331b + bb10004 commit 8cc676e
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 9 deletions.
6 changes: 4 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,11 @@
source_suffix = '.rst'
## get's rid of many toctree contains errors: see https://github.com/phn/pytpm/issues/3#issuecomment-12133978
numpydoc_show_class_members = False
extensions += ['matplotlib.sphinxext.plot_directive']
extensions += ['matplotlib.sphinxext.plot_directive',
'sphinxcontrib.bibtex',
'sphinxcontrib.tikz']


extensions.append('sphinxcontrib.bibtex')

# -- General configuration ----------------------------------------------------

Expand Down
Binary file added docs/graphics/d_inner.ggb
Binary file not shown.
Binary file added docs/graphics/d_outer.ggb
Binary file not shown.
23 changes: 17 additions & 6 deletions docs/physics/montecarlo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,28 @@ Radiative Monte Carlo

.. :currentmodule:: tardis.montecarlo_multizone
The radiative monte carlo is initiated once the model is constructed.
Different line interactions
Montecarlo Geometry
^^^^^^^^^^^^^^^^^^^

Before any packet action is performed we calculate four different distances
( :math:`d_\textrm{inner}, d_\textrm{outer}, d_\textrm{line}, d_{\textrm{e}^{-}}` )

The calculations for the distance to the outer boundary:

.. image:: ../graphics/d_outer.png
:width: 400

The calculations for the distance to the inner boundary:

.. image:: ../graphics/d_inner.png
:width: 400



line_interaction_id == 0: scatter
line_interaction_id == 1: downbranch
line_interaction_id == 2: macro

Radiationfield estimators
-------------------------
^^^^^^^^^^^^^^^^^^^^^^^^^

During the monte-carlo run we collect two estimators for the radiation field:

Expand Down
3 changes: 2 additions & 1 deletion docs/rtd-pip-requirements
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ pybtex
Cython
astropy
sphinx_bootstrap_theme
sphinxcontrib-bibtex
sphinxcontrib-bibtex
sphinxcontrib-tikz

0 comments on commit 8cc676e

Please sign in to comment.