To add a Poisson background to a Simulation
instance, use
bg = ba.PoissonBackground()
simulation.setBackground(bg)
In this case, the output intensity is randomly distributed around the exact value with discrete Poisson statistics.
The lower the intensity of the probing beam, the lower the signal-to-noise ratio.
To add a constant background to a Simulation
instance, use
bg = ba.ConstantBackground(1e3)
simulation.setBackground(bg)
Background is applied before the reflectivity is normalized, so the background value will also be divided by the probe beam intensity.
Background is not supported.
Examples/specular/Background.py
Examples/scatter2d/Background.py
The script below shows how to add different types of background in the context of a GISAXS simulation of cylindrical particles on substrate.
|
|