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