Debian Codegraph @

hugo/content/ref/sim/class/scattering/ex/mc.md

raw
1 +++
2 title = "Monte-Carlo"
3 weight = 80
4 +++
5
6 ## Scattering by large particles with Monte-Carlo integration
7
8 Reference: [Monte-Carlo](/ref/sim/setup/options/mc)
9
10 This example demonstrates that for large particles (~$1000$ nm) the contribution to the scattered intensity from the form factor oscillates rapidly within one detector bin and analytical calculations (performed for the bin center) give completely a wrong intensity pattern. In this case Monte-Carlo integrations over detector bin should be used.
11
12 The simulation generates four plots using different sizes of the particles, (radius $=10$ nm, height $=20$ nm) or (radius $=1$ $\mu$m, height $=2$ $\mu$m), and different calculation methods: analytical calculations or Monte-Carlo integration. The other parameters are identical:
13
14 * The sample is made of a monodisperse distribution of cylinders, deposited randomly on a substrate.
15 * There is no interference between the scattered waves.
16 * The wavelength is equal to 0.1 nm.
17 * The incident angles are $\alpha\_i = 0.2 ^{\circ}$ and $\varphi\_i = 0^{\circ}$.
18
19 {{< galleryscg >}}
20 {{< figscg src="/img/draw/LargeParticles_setup.jpg" width="700px" caption="Real-space model">}}
21 {{< figscg src="/img/auto/scatter2d/LargeParticles.png" width="350px" caption="Scattering intensity">}}
22 {{< /galleryscg >}}
23
24 {{< show-ex file="scatter2d/LargeParticles.py" >}}