+++
title = "Lattice orientation distribution"
weight = 11
+++

### Distribution of lattice orientations

This example shows GISAS by an isotropic mixture of lattices.
On top of a substrate, we have square lattices of cylinders.
The lattice orientation has a uniform [distribution](/ref/other/distributions) over the full range
form $0^\circ$ to $90^\circ$.

The differently oriented lattices are incoherently summed
using a loop over the parameter distribution samples.

{{< galleryscg >}}
{{< figscg src="/img/auto/scatter2d/LatticeOrientationDistribution.png" width="500px" caption="Scattering intensity">}}
{{< /galleryscg >}}

{{< show-ex file="scatter2d/LatticeOrientationDistribution.py" >}}
