diff --git a/hugo/content/ex/sim/scatter2d/with-specular.md b/hugo/content/ex/sim/scatter2d/with-specular.md new file mode 100644 index 0000000000000000000000000000000000000000..3f461142acd8551aaa10eafba83f22b91b25ad00 --- /dev/null +++ b/hugo/content/ex/sim/scatter2d/with-specular.md @@ -0,0 +1,16 @@ ++++ +title = "with specular peak" +weight = 18 ++++ + +## Option: include specular reflection + +Only if option [include specular](/ref/sim/setup/otions/specular) +is set, simulated detector images will include the specular reflection +of the incident beam. + +Example: scattering by dilute boxes on a substrate. + +{{< figscg src="/img/auto/scatter2d/BoxesWithSpecularPeak.png" width="500px" class="center" >}} + +{{< show-ex file="scatter2d/BoxesWithSpecularPeak.py" >}} diff --git a/hugo/content/ref/sim/setup/options/specular.md b/hugo/content/ref/sim/setup/options/specular.md index e5b67d82d79e6335f32d36ece9761953acfcfb17..ef5d94b4e25a7868535030c977656d2a5b83daaa 100644 --- a/hugo/content/ref/sim/setup/options/specular.md +++ b/hugo/content/ref/sim/setup/options/specular.md @@ -11,8 +11,4 @@ along with the scattered intensity in a GISAS simulation, use simulation.options().setIncludeSpecular(True) ``` -Example: - -{{< figscg src="/img/auto/scatter2d/BoxesWithSpecularPeak.png" width="500px" class="center" >}} - -{{< show-ex file="scatter2d/BoxesWithSpecularPeak.py" >}} +Example: [GISAS with specular peak](/ex/sim/specular).