| 1 |
+++ |
| 2 |
title = "Multi-layer lattice" |
| 3 |
weight = 40 |
| 4 |
+++ |
| 5 |
|
| 6 |
### Lattice with several layers |
| 7 |
|
| 8 |
A sample with several lattice layers can be modelled |
| 9 |
as a 2d lattice with a 3d particle basis. |
| 10 |
|
| 11 |
In this example, the sample consists of two hexagonal close packed layers of spheres. |
| 12 |
|
| 13 |
{{< galleryscg >}} |
| 14 |
{{< figscg src="/img/draw/TwoLayerLattice_setup.jpg" width="350px" caption="Real-space model">}} |
| 15 |
{{< figscg src="/img/auto/scatter2d/TwoLayerLattice.png" width="500px" caption="Scattering intensity">}} |
| 16 |
{{< /galleryscg >}} |
| 17 |
|
| 18 |
{{< show-ex file="scatter2d/TwoLayerLattice.py" >}} |