diff --git a/hugo/content/ex/sim/scatter2d/born-approximation.md b/hugo/content/ex/sim/scatter2d/born-approximation.md index 1f7c6d9f5e426e8ba5a36e8c7223d3dd376c2933..431bd9ab2244fc4a7a92dc7b5d8f8482009bb1b0 100644 --- a/hugo/content/ex/sim/scatter2d/born-approximation.md +++ b/hugo/content/ex/sim/scatter2d/born-approximation.md @@ -1,6 +1,6 @@ +++ title = "without DWBA terms" -weight = 10 +weight = 15 +++ ## GISAS without DWBA terms diff --git a/hugo/content/ex/sim/scatter2d/gisas.md b/hugo/content/ex/sim/scatter2d/gisas.md index 7baddf824cb79b3f11fe1d53a1bde5a79026c33e..b263820058ffdbac8760845c09ea18e9914638cd 100644 --- a/hugo/content/ex/sim/scatter2d/gisas.md +++ b/hugo/content/ex/sim/scatter2d/gisas.md @@ -1,6 +1,6 @@ +++ title = "GISAS" -weight = 30 +weight = 10 +++ ## GISAS simulation example diff --git a/hugo/content/ex/sim/scatter2d/mc.md b/hugo/content/ex/sim/scatter2d/mc.md new file mode 100644 index 0000000000000000000000000000000000000000..69d0195cc3cf5c25d92da153f2cb11bfaa0c7642 --- /dev/null +++ b/hugo/content/ex/sim/scatter2d/mc.md @@ -0,0 +1,24 @@ ++++ +title = "Monte-Carlo" +weight = 80 ++++ + +## Scattering by large particles with Monte-Carlo integration + +Reference: [Monte-Carlo](/ref/sim/setup/options/mc) + +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. + +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: + +* The sample is made of a monodisperse distribution of cylinders, deposited randomly on a substrate. +* There is no interference between the scattered waves. +* The wavelength is equal to 0.1 nm. +* The incident angles are $\alpha\_i = 0.2 ^{\circ}$ and $\varphi\_i = 0^{\circ}$. + +{{< galleryscg >}} +{{< figscg src="/img/draw/LargeParticlesFormFactor_setup.jpg" width="700px" caption="Real-space model">}} +{{< figscg src="/img/auto/scatter2d/LargeParticlesFormFactor.png" width="350px" caption="Intensity image">}} +{{< /galleryscg >}} + +{{< show-ex file="scatter2d/LargeParticlesFormFactor.py" >}} diff --git a/hugo/content/ex/sim/scatter2d/polarized_sans.md b/hugo/content/ex/sim/scatter2d/polarized_sans.md index 3eba2a187fb3b7bec24fd958eb439335c248f17c..80ed655697b089f6ca3e475d1c1e76e59d02b1c4 100644 --- a/hugo/content/ex/sim/scatter2d/polarized_sans.md +++ b/hugo/content/ex/sim/scatter2d/polarized_sans.md @@ -1,6 +1,6 @@ +++ title = "Polarized SANS" -weight = 40 +weight = 45 +++ ### Polarized SANS diff --git a/hugo/content/ref/sim/setup/options/mc/index.md b/hugo/content/ref/sim/setup/options/mc/index.md index 386af4278b62d36a673ed084ea74532b1919044e..7c94acd7603e5fa3b989fe651491df69ac1ca085 100644 --- a/hugo/content/ref/sim/setup/options/mc/index.md +++ b/hugo/content/ref/sim/setup/options/mc/index.md @@ -15,20 +15,4 @@ simulation.options().setMonteCarloIntegration(True, n) ``` where `n` is the number of scattering intensity evaluations per pixel. -#### Usage example: large qr - -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. - -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: - -* The sample is made of a monodisperse distribution of cylinders, deposited randomly on a substrate. -* There is no interference between the scattered waves. -* The wavelength is equal to 0.1 nm. -* The incident angles are $\alpha\_i = 0.2 ^{\circ}$ and $\varphi\_i = 0^{\circ}$. - -{{< galleryscg >}} -{{< figscg src="/img/draw/LargeParticlesFormFactor_setup.jpg" width="700px" caption="Real-space model">}} -{{< figscg src="/img/auto/scatter2d/LargeParticlesFormFactor.png" width="350px" caption="Intensity image">}} -{{< /galleryscg >}} - -{{< show-ex file="scatter2d/LargeParticlesFormFactor.py" >}} +Example: [Monte-Carlo](/ex/sim/scatter2d/mc). \ No newline at end of file