hugo/content/ref/sim/class/scattering/ex/with-specular.md
raw| 1 | +++ |
| 2 | title = "with specular peak" |
| 3 | weight = 18 |
| 4 | +++ |
| 5 | |
| 6 | ## Option: include specular reflection |
| 7 | |
| 8 | Only if option [include specular](/ref/sim/setup/options/specular) |
| 9 | is set, simulated detector images will include the specular reflection |
| 10 | of the incident beam. |
| 11 | |
| 12 | Example: scattering by dilute boxes on a substrate. |
| 13 | |
| 14 | {{< figscg src="/img/auto/scatter2d/BoxesWithSpecularPeak.png" width="500px" class="center" >}} |
| 15 | |
| 16 | {{< show-ex file="scatter2d/BoxesWithSpecularPeak.py" >}} |