2D lattice with position variance

A lateral position-disorder parameter describes independent fluctuations of particle positions around lattice points. It gives rise to an attenuation factor of Debye-Waller type.

Set it on Crystal2D with

layout.setLateralPositionVariance(rms_displacement)

Despite the historical API name, rms_displacement is the root-mean-square displacement in each lateral dimension, in nanometers, not a variance in square nanometers. By default it is zero.

Example: square lattice without and with variance

A square lattice of spheres on a substrate, for different lattice orientation angles $\xi$.

Open the complete example.