Debian Codegraph @

hugo/content/ref/data/sld-profile/sld-profile-sliced-layer/index.md

raw
1 +++
2 title = "SLD profile with a sliced particle layer"
3 weight = 30
4 +++
5
6 ### SLD profile with a sliced particle layer
7
8 This example shows how to plot a z dependent Scattering Length Density (SLD) profile
9 caused by a dense assembly of conical particles.
10
11 {{< figscg src="/img/auto/varia/MaterialProfileWithParticles.png" width="500px" >}}
12
13 The staircase profile comes from slicing of the vacuum layer that accounts for the z dependent
14 particle density. The slicing is specified by the statement
15 ```
16 ambient_layer.setNumberOfSlices(20).
17 ```
18
19 {{< show-ex file="varia/MaterialProfileWithParticles.py" >}}