Debian Codegraph @

hugo/content/ref/sample/struct/2d/lattice2d/square-lattice/index.md

raw
1 +++
2 title = "Square lattice"
3 weight = 10
4 +++
5
6 ### Basic square lattice example
7
8 This example shows scattering from cylinders positioned in an infinite square lattice.
9 The lattice axes form a 30 degree angle with the $x$, $y$ axes.
10 This rotation breaks the $\varphi \leftrightarrow -\varphi$ symmetry of the scattering pattern.
11
12
13 {{< galleryscg >}}
14 {{< figscg src="/img/draw/SquareLattice30deg_setup.jpg" width="350px" caption="Real-space model">}}
15 {{< figscg src="/img/auto/scatter2d/SquareLattice.png" width="500px" caption="Scattering intensity">}}
16 {{< /galleryscg >}}
17
18 {{< show-ex file="scatter2d/SquareLattice.py" >}}