Debian Codegraph @

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

raw
1 +++
2 title = "Polarized SANS"
3 weight = 45
4 +++
5
6 ### Polarized SANS
7
8 This example shows how to simulate polarized SANS with BornAgain, using the Born
9 Approximation.
10
11 The main difference between simulating GISAS and SAS in BornAgain is the presence
12 of only a single layer in the multilayer object. This triggers the software to
13 calculate the differential scattering cross section in the Born Approximation.
14
15 In this example, a sample with a magnetic core-shell particle is constructed.
16 Beam and detector are setup to detect the spin-flip scattering channel and the
17 result of this simulation is plotted as usual.
18
19 {{< figscg src="/img/auto/scatter2d/PolarizedSANS.png" width="600px" >}}
20
21 {{< show-ex file="scatter2d/PolarizedSANS.py" >}}