# Examples on BornAgain

file:///usr/share/doc/bornagain/html/ref/sim/class/depthprobe/ex/index.html Recent content in Examples on BornAgain Hugo en-us

# Thin film

file:///usr/share/doc/bornagain/html/ref/sim/class/depthprobe/ex/depthprobe1.html Mon, 01 Jan 0001 00:00:00 +0000 file:///usr/share/doc/bornagain/html/ref/sim/class/depthprobe/ex/depthprobe1.html <h2 id="intensity-distribution-in-a-thin-film-sample">Intensity distribution in a thin-film sample.</h2> <p>We consider a thin film on a substrate.</p> <p>We compute the neutron intensity as function of depth and incident angle $\alpha_i$.</p> <figure class="center"> <a href="file:///usr/share/doc/bornagain/html/img/auto/varia/Depthprobe1.png"> <img src="file:///usr/share/doc/bornagain/html/img/auto/varia/Depthprobe1.png" width="500"> </a> <figcaption> <p></p> </figcaption> </figure> <div class="highlight"><div class="chroma"> <table class="lntable"><tr><td class="lntd"> <pre tabindex="0" class="chroma"><code></code></pre></td> <td class="lntd"> <pre tabindex="0" class="chroma"><code class="language-python" data-lang="python"></code></pre></td></tr></table> </div> </div> <a class="linktofile" href="https://jugit.fz-juelich.de/mlz/bornagain/-/tree/r23/auto/Examples/varia/Depthprobe1.py"/>auto/Examples/varia/Depthprobe1.py</a>

# Transmitted modulus

file:///usr/share/doc/bornagain/html/ref/sim/class/depthprobe/ex/transmitted_modulus.html Mon, 01 Jan 0001 00:00:00 +0000 file:///usr/share/doc/bornagain/html/ref/sim/class/depthprobe/ex/transmitted_modulus.html <h2 id="transmitted-modulus">Transmitted modulus</h2> <p>Modulus of the amplitude of the partial wave field propagating in transmission direction, as function of depth and incident angle $\alpha_i$.</p> <p>Same sample as in the basic example <a href="depthprobe1">depthprobe1</a>, a thin film on a substrate.</p> <figure class="center"> <a href="file:///usr/share/doc/bornagain/html/img/auto/varia/TransmittedModulus.png"> <img src="file:///usr/share/doc/bornagain/html/img/auto/varia/TransmittedModulus.png" width="500"> </a> <figcaption> <p></p> </figcaption> </figure> <div class="highlight"><div class="chroma"> <table class="lntable"><tr><td class="lntd"> <pre tabindex="0" class="chroma"><code></code></pre></td> <td class="lntd"> <pre tabindex="0" class="chroma"><code class="language-python" data-lang="python"></code></pre></td></tr></table> </div> </div> <a class="linktofile" href="https://jugit.fz-juelich.de/mlz/bornagain/-/tree/r23/auto/Examples/varia/TransmittedModulus.py"/>auto/Examples/varia/TransmittedModulus.py</a>

# Resonator

file:///usr/share/doc/bornagain/html/ref/sim/class/depthprobe/ex/resonator.html Mon, 01 Jan 0001 00:00:00 +0000 file:///usr/share/doc/bornagain/html/ref/sim/class/depthprobe/ex/resonator.html <h2 id="intensity-distribution-in-neutron-resonator">Intensity distribution in neutron resonator</h2> <p>We consider a neutron resonator, composed of one Ti/Pt bilayer.</p> <figure class="center"> <a href="file:///usr/share/doc/bornagain/html/img/draw/ResonatorSample.png"> <img src="file:///usr/share/doc/bornagain/html/img/draw/ResonatorSample.png" width="500"> </a> <figcaption> <p></p> </figcaption> </figure> <p>The beam comes from the Si side. By convention the beam always comes &lsquo;&lsquo;from above&rsquo;&rsquo;. Accordingly, we consider Si the &lsquo;&lsquo;ambient&rsquo;&rsquo; material, placed &lsquo;&lsquo;on top&rsquo;&rsquo; of the sample.</p> <p>As a result, we obtain the neutron intensity as function of depth and incident angle $\alpha_i$.</p> <figure class="center"> <a href="file:///usr/share/doc/bornagain/html/img/auto/varia/Resonator.png"> <img src="file:///usr/share/doc/bornagain/html/img/auto/varia/Resonator.png" width="500"> </a> <figcaption> <p></p> </figcaption> </figure> <div class="highlight"><div class="chroma"> <table class="lntable"><tr><td class="lntd"> <pre tabindex="0" class="chroma"><code></code></pre></td> <td class="lntd"> <pre tabindex="0" class="chroma"><code class="language-python" data-lang="python"></code></pre></td></tr></table> </div> </div> <a class="linktofile" href="https://jugit.fz-juelich.de/mlz/bornagain/-/tree/r23/auto/Examples/varia/Resonator.py"/>auto/Examples/varia/Resonator.py</a>