Specialized X-ray source for reading in SPECTRA source definitions
Author: Erik Knudsen
Date: November 11, 2009
This is a source component for connecting SPECTRA -output files with McXtrace.
SPECTRA is an application software to calculate optical properties of synchrotron
radiation (SR) emitted from bending magnets, wigglers (conventional and elliptical)
and undulators (conventional, helical, elliptical and figure-8). Calculations
of radiation from an arbitrary magnetic field distribution are also available.
Parameters on the electron beam and the source can be edited completely on
graphical user interfaces (GUIs) and it is possible to show the calculation
result graphically. The energy spectrum and radiation power after transmitting
various filters and convolution of detector's resolution are also available.
Parameters in boldface are required;
the others are optional.
If non-zero output more warning messages.
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.
1/(s * mm**2 *mrad**2 * energy unit)
flux per energy unit, Angs or keV.
Criterion: 0: uniform, 1: Gaussian distribution of energy/wavelength.