A flat rectangular surface source with uniform or Gaussian divergence profile and focussing.
If the parametere gauss is not set (the default) the divergence profile is flat
in the range [-focus_ax,focus_ay]. If gauss is set, the focux_ax,focus_ay is considered
the standard deviation of the gaussian profile.
Currently focussing is only active for flat profile. The "focus window" is defined by focus_xw,focus_yh and dist.
The spectral intensity profile is uniformly distributed in the energy interval defined by e0+-dE/2 or
by wavelength lambda0+-dlambda/2
Example: Source_div(xwidth=0.1, yheight=0.1, focus_aw=2, focus_ah=2, E0=14, dE=2, gauss=0)
Parameters in boldface are required;
the others are optional.
Width of source
Height of source
FWHM (Gaussian) or maximal (uniform) horz. width divergence
FWHM (Gaussian) or maximal (uniform) vert. height divergence
Mean energy of X-rays.
Energy spread of X-rays.
Mean wavelength of X-rays (only relevant for E0=0)
Wavelength half spread of X-rays.
flux per energy unit, Angs or meV
Criterion: 0: uniform, 1: Gaussian distribution of energy/wavelength
Criterion: 0: uniform, 1: Gaussian divergence distribution
parameter 'sigma' of the Gaussian distribution for horizontal divergence
parameter 'sigma' of the Gaussian distribution for vertical divergence