Variable stepsize method
The second Monte Carlo method varies the distance
that the photon is
moved each propagation step. The stepsize
is chosen in such a way that it is
the distance at which the photon is either scattered or absorbed. If distances in
the tissue have been non-dimensionalized (Section 4.5) so that the mean free
path is unity, then the probability density function for
is .
Appendix
A shows how a stepsize
with this probability density function may be
generated as a function of a random number
uniformly distributed between zero
and one
 |
(2.8) |
Figure 2.2:
Flowchart for the variable stepsize Monte Carlo technique. Notice
that each time through the inner (dashed) loop, the photon is either scattered or
absorbed.
|
|
When
is chosen in this manner, the photon is forced either to scatter or
be absorbed after each propagation step. Given that the photon is either
absorbed or scattered, the probability that it is scattered is equal to the ratio of
the scattering coefficient to the sum of the absorption and scattering coefficients
(the albedo). If
is a random number uniformly distributed between zero and
one, then the photon is scattered if
 |
(2.9) |
Otherwise, the photon is absorbed. If a photon is scattered then a new photon
direction is chosen based on the phase function, otherwise the photon is
absorbed and a new photon is launched. This process is described in the
flowchart in Figure 2.2.
|