Skip to content
Snippets Groups Projects
Commit e108f840 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

sort ref/sim/scatter2d; split Monte-Carlo example

parent 2021ca38
No related branches found
No related tags found
1 merge request!2053hugo: continue separation of ref/ and ex/
+++ +++
title = "without DWBA terms" title = "without DWBA terms"
weight = 10 weight = 15
+++ +++
## GISAS without DWBA terms ## GISAS without DWBA terms
......
+++ +++
title = "GISAS" title = "GISAS"
weight = 30 weight = 10
+++ +++
## GISAS simulation example ## GISAS simulation example
......
+++
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" >}}
+++ +++
title = "Polarized SANS" title = "Polarized SANS"
weight = 40 weight = 45
+++ +++
### Polarized SANS ### Polarized SANS
......
...@@ -15,20 +15,4 @@ simulation.options().setMonteCarloIntegration(True, n) ...@@ -15,20 +15,4 @@ simulation.options().setMonteCarloIntegration(True, n)
``` ```
where `n` is the number of scattering intensity evaluations per pixel. where `n` is the number of scattering intensity evaluations per pixel.
#### Usage example: large qr Example: [Monte-Carlo](/ex/sim/scatter2d/mc).
\ No newline at end of file
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" >}}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment