SLD profile with a sliced particle layer

This example shows how to plot a z dependent Scattering Length Density (SLD) profile caused by a dense assembly of conical particles.

The staircase profile comes from slicing of the vacuum layer that accounts for the z dependent particle density. The slicing is specified by the statement

ambient_layer.setNumberOfSlices(20).
auto/Examples/varia/MaterialProfileWithParticles.py