Debian Codegraph @

hugo/content/ref/sample/struct/2d/lattice2d/position-variance/index.md

raw
1 +++
2 title = "Position variance"
3 weight = 60
4 +++
5
6 ## 2D lattice with position variance
7
8 A position variance parameter describes fluctuations of particle position
9 around lattice points.
10 It gives rise to an attenuation factor of Debye-Waller type.
11
12 It can be set using the method `setPositionVariance(variance)`
13 of class Crystal2D.
14 The argument `variance` is in nm$^2$.
15
16 By default the variance is zero.
17
18 ### Example: square lattice without and with variance
19
20 A square lattice of hemispheres on a substrate, for different lattice orientation angles xi.
21
22 {{< figscg src="/img/auto/scatter2d/PositionVariance.png">}}
23
24 {{< show-ex file="scatter2d/PositionVariance.py" >}}