Model of a laboratory x-ray tube, generating x-rays by bombarding a target by electrons.
Given a input energy E0 of the electron beam, x-rays are emitted from the accessible emission lines
The geometry of the tube is assumed to be:
# The electron beam hits a slab of surface material surface at a right angle illuminating an area of width by height,
# where width is measured along the component X-axis.
# The centre of the electron beam at the anode surface is the origin of the component.
# The Z-axis of the component points at the centre of the exit window (focus_xw by focus yh)
placed at a distance dist from the origin.
# The angle between the Z-axis and the anode surface is the take_off angle.
For a detailed sketch of the geometry see the componnent manual.
The Bremsstrahlung emitted is modelled using the model of Kramer (1923) as restated in International
Tables of Crystallography C 4.1
Characteristic radiation is modelled by Lorentzian (default) or Gaussian energy profiles with
line-energies from Bearden (1967), widths from Krause (1979) and intensity from Honkimäki (1990) and x-ray data booklet.
Absoprtion of emitted x-rays while travelling through the target anode is included.
Example: Source_lab(material_datafile="Cu.txt",Emin=1, E0=80)
Parameters in boldface are required;
the others are optional.
Name of datafile which describes the target material.
Width of electron beam impinging on the anode.
Height of electron beam impinging on the anode.
Thickness of the anode material slab.
Acceleration voltage of xray tube.
Maximum energy to sample. Default (Emax=0) is to set it to E0.
Minimum energy to sample.
Width of exit window.
Height of exit window.
Take off angle of beam centre.
Distance between centre of illuminated target and exit window.
Electron beam current.
Fraction of statistic to use for Bremsstrahlung.
If nonzero Lorentzian (more correct) line profiles are used.