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

new example integrated in webdoc; split ref | ex

parent 0e352833
No related branches found
No related tags found
Loading
Pipeline #94622 passed
+++
title = "Depth probe"
weight = 0
+++
## Depth probe examples
Intensity as function of incident angle $\alpha_\text{i}$ and depth $z$.
Class reference:
- [DepthProbe](/ref/sim/class/depthprobe)
Examples
- [Basic example: thin film on substrate](/ex/sim/depthprobe/depthprobe1)
- [Resonator](/ex/sim/depthprobe/resonator)
+++
title = "Thin film"
weight = 10
+++
## Intensity distribution in a thin-film sample.
We consider a thin film on a substrate.
We compute the neutron intensity
as function of depth and incident angle $\alpha_i$.
{{< figscg src="/img/auto/varia/Depthprobe1.png" width="500" class="center">}}
{{< highlightfile file="Examples/varia/Depthprobe1.py" >}}
+++
title = "Resonator"
weight = 80
+++
## Intensity distribution in neutron resonator
We consider a neutron resonator, composed of one Ti/Pt bilayer.
{{< figscg src="/img/draw/ResonatorSample.png" width="500" class="center">}}
The beam comes from the Si side.
By convention the beam always comes ''from above''.
Accordingly, we consider Si the ''ambient'' material, placed ''on top'' of the sample.
As a result, we obtain the neutron intensity
as function of depth and incident angle $\alpha_i$.
{{< figscg src="/img/auto/varia/Resonator.png" width="500" class="center">}}
{{< highlightfile file="Examples/varia/Resonator.py" >}}
...@@ -28,19 +28,6 @@ For optional settings, see [simulation options](/ref/sim/setup/options). ...@@ -28,19 +28,6 @@ For optional settings, see [simulation options](/ref/sim/setup/options).
For the return type of function `simulate()`, For the return type of function `simulate()`,
see [SimulationResult](/ref/sim/simulation-result). see [SimulationResult](/ref/sim/simulation-result).
### Example Examples:
- [Basic example: thin film on substrate](/ex/sim/depthprobe/depthprobe1)
We consider a neutron resonator, composed of one Ti/Pt bilayer. - [Resonator](/ex/sim/depthprobe/resonator)
{{< figscg src="/img/draw/ResonatorSample.png" width="500" class="center">}}
The beam comes from the Si side.
By convention the beam always comes ''from above''.
Accordingly, we consider Si the ''ambient'' material, placed ''on top'' of the sample.
As a result, we obtain the neutron intensity
as function of depth and incident angle $\alpha_i$.
{{< figscg src="/img/auto/varia/Resonator.png" width="500" class="center">}}
{{< highlightfile file="Examples/varia/Resonator.py" >}}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment