| 1 |
+++ |
| 2 |
title = "SAS" |
| 3 |
weight = 40 |
| 4 |
+++ |
| 5 |
|
| 6 |
## Simulation types: Small-angle scattering |
| 7 |
|
| 8 |
While BornAgain is designed for GISAS experiments (using the Distorted Wave Born |
| 9 |
Approximation), it naturally also contains the regular (plane wave) Born Approximation. |
| 10 |
Accordingly, BornAgain can also simulate standard small-angle scattering (SAS). |
| 11 |
|
| 12 |
However, there exist |
| 13 |
[several other specialized SAS softwares](http://smallangle.org/content/software). |
| 14 |
Therefore we do not advertise BornAgain for analysing SAS experiments, |
| 15 |
and in general we do not provide user support for this application domain. |
| 16 |
We rather recommend [SASView](https://www.sasview.org/), |
| 17 |
which is institutionally supported by the European Spallation Source, |
| 18 |
and was designated as standard SAS software in the European SINE2020 project. |
| 19 |
|
| 20 |
Yet BornAgain can be an appropriate choice in cases where the sample structure or |
| 21 |
the experimental conditions are not covered by other software. |
| 22 |
For example, other softwares provide no, or limited, support for polarized SANS. |
| 23 |
Here, we show how such experiments can be simulated with BornAgain. |
| 24 |
|
| 25 |
### Basic example |
| 26 |
|
| 27 |
To simulate conventional small-angle scattering with BornAgain, |
| 28 |
we turn source and detector by 90 degrees with respect to grazing-incidence geometry. |
| 29 |
|
| 30 |
The following basic example simulates |
| 31 |
scattering from a dilute random assembly of monodisperse, oriented dodecahedra. |
| 32 |
|
| 33 |
|
| 34 |
{{< galleryscg >}} |
| 35 |
{{< figscg src="/img/auto/scatter2d/DodecahedraSAS.png" width="500px" caption="Scattering intensity">}} |
| 36 |
{{< /galleryscg >}} |
| 37 |
|
| 38 |
{{< show-ex file="scatter2d/DodecahedraSAS.py" >}} |