To add a dilute random assembly of uncorrelated particles to a layer:
layer.depositParticle(density, particle)
Argument density
is the number density in nm$^{-2}$.
For argument particle
, Particle.
The particles are vertically aligned such that the bottom of the particles
coincides with the bottom of the layer.
Accordingly,
function depositParticle
must not be applied to the bottom layer of a multi-layer sample.
For an incoherent mixture of different particles,
just call depositParticle
for each kind of particle.
To add a dense random assembly of non-overlapping but otherwise non-interacting particles to a layer:
layer.depositParticle(density, particle, ba.Random2D_PY)
The scattering is computing in Percus-Yevick approximation, using the approximative structure factor of M.S. Ripoll & C.F. Tejero (1995).
In the following example, the sample is a dense random assembly of disks on a substrate. GISAS has been simulated (a) assuming that the disks are completely uncorrelated, as in an ideal gas, and (b) taking into account that the disks cannot overlap, using the hard-disk liquid model. The figure shows horizontal cuts through these GISAS patterns.
|
|