Ray tracing - ESRF
Ray tracing - ESRF
Ray tracing - ESRF
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
2- General case: The Gaussian [or any kind of distribution f ] generator.<br />
❑ 1st Solution. Deterministic generator:<br />
❑ 2nd Solution. Stochastic generator:<br />
x = (0,0,0)<br />
v = (0, cos θi , sin θi) I = f (θi )<br />
θi = θmin + (i/N) (θmax - θmin) i = 0, ..., N<br />
x = (0,0,0)<br />
v = (0, cos θ i , sin θ i)<br />
θ i are numbers generated randomly but following<br />
the gaussian [or f] distribution.<br />
How to get them?<br />
Manuel Sánchez del Río -10-<br />
Experiments Division<br />
Programming Group<br />
Grenoble, January 18, 1994<br />
EUROPEAN SYNCHROTRON RADIATION FACILITY