# SLD profile on BornAgain

file:///usr/share/doc/bornagain/html/ref/data/sld-profile/index.html Recent content in SLD profile on BornAgain Hugo en-us

# SLD profile with rough interfaces

file:///usr/share/doc/bornagain/html/ref/data/sld-profile/sld-profile-rough-interfaces.html Mon, 01 Jan 0001 00:00:00 +0000 file:///usr/share/doc/bornagain/html/ref/data/sld-profile/sld-profile-rough-interfaces.html <h3 id="sld-profile-with-rough-interfaces">SLD profile with rough interfaces</h3> <p>This example shows how to plot the Scattering Length Density (SLD) profile for a multilayer sample with rough interfaces.</p> <figure > <a href="file:///usr/share/doc/bornagain/html/img/auto/varia/MaterialProfile.png"> <img src="file:///usr/share/doc/bornagain/html/img/auto/varia/MaterialProfile.png" width="500px"> </a> <figcaption> <p></p> </figcaption> </figure> <p>The sample consists of alternating Ti and Ni layers with rough interfaces.</p> <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/MaterialProfile.py"/>auto/Examples/varia/MaterialProfile.py</a>

# SLD profile with a sliced particle layer

file:///usr/share/doc/bornagain/html/ref/data/sld-profile/sld-profile-sliced-layer.html Mon, 01 Jan 0001 00:00:00 +0000 file:///usr/share/doc/bornagain/html/ref/data/sld-profile/sld-profile-sliced-layer.html <h3 id="sld-profile-with-a-sliced-particle-layer">SLD profile with a sliced particle layer</h3> <p>This example shows how to plot a z dependent Scattering Length Density (SLD) profile caused by a dense assembly of conical particles.</p> <figure > <a href="file:///usr/share/doc/bornagain/html/img/auto/varia/MaterialProfileWithParticles.png"> <img src="file:///usr/share/doc/bornagain/html/img/auto/varia/MaterialProfileWithParticles.png" width="500px"> </a> <figcaption> <p></p> </figcaption> </figure> <p>The staircase profile comes from slicing of the vacuum layer that accounts for the z dependent particle density. The slicing is specified by the statement</p> <pre tabindex="0"><code>ambient_layer.setNumberOfSlices(20). </code></pre><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/MaterialProfileWithParticles.py"/>auto/Examples/varia/MaterialProfileWithParticles.py</a>