2.3 Components and Library
We here list the new and updated components (found in the McXtrace lib directory) which
are detailed in the Component manual. For an overview see the Component Overview of the
User Manual(This Document).
2.3.1 New components
Sources
We have revised the following source models to make them work as conherently as possible
while retaining the backwards compatibility.
-
Source_pt
-
Point source.
-
Source_flat
-
Flat surface uniform source
-
Source_div
-
Flat surface uniform source with divergence distribution
-
Source_gaussian
-
Gaussian crossection source approximating a Bending Magnet
Furthermore we now also supply an experimental model of a bending magnet Bending_magnet.
The following experimental components have been set up to facilitate interfacing with
SPECTRA, Simplex, and GENESIS 1.3. In general they take the output of the relevant
external program to get a phase space distribution of photons from which McXtrace samples
rays to trace.
-
Source_genesis
-
Reads the output of a GENESIS 1.3 simulation. Useful for FEL-simulations.
-
Source_spectra
-
Reads the output of a SPECTRA simulation. Useful for Synchrotron simulations.
-
Source_simplex
-
Reads the output of a Simplex simulation. Useful for FEL simulations.
Samples
-
Single_crystal
-
Now has support for wavelength dependent absorption.
-
Molecule_2state
-
Also includes absorption support.
-
Molecule_2state
-
Option for supplying a q-parametrized scattering amplitude curve. This is for
instance useful to add the effect of a well known solvent (e.g. Water) to a simulation.
-
SAXS
-
A whole set of SAXS-related samples is now available for various cases.
Optics
-
Filter
-
Now has the option of taking any shape (through an .off or .ply-file.
-
Filter
-
Added a refraction-option.
-
Multilayer_elliptic
-
Elliptical multilayer mirror. This component now has the option of using
a analytical kinematical approximation to compute refleticity as opposed to
supplying a datafile. This is faster, but often less accurate.
-
Lens_parab_*
-
The lenses now behave in a similar manner wrt. parameter naming etc., also
fixes to an error in the absorption computation. Note that the lens version will be
merged in the next release (see the component manual).
-
Mirror_elliptic
-
Elliptical shape mirror. Major geometry bug-fixes. Is scheduled to be merged with
Mirror_curved.
-
Mirror_parabolic
-
Parabolic shape mirror. Major geometry bug-fixes. Is scheduled to be merged with
Mirror_curved.
-
Mirror_curved
-
Cylindrical mirror. Fixed a bug which prevented its use as an azimuthal focusing
mirror, with sideways incidence.
-
Chopper_simple
-
Optional random jitter was added.
-
Mask
-
A component that takes an image file as input, which is used to mask the beam.
For instance to exmine linited resolution effects.
Monitors
-
TOF_monitor
-
New Intensity vs. time of flight monitor. Useful for sime-resolved studies with
pulsed sources.
2.3.2 Example instruments
The following beamline models have been added (in addition to unit test models that test
specific components):
-
A rough model of the SPB beamline at the Euorpean XFEL.
-
A model of the 711 powder diffraction beamline at Maxlab in Lund, Sweden.
-
Model of the 811 surface diffraction and EXAFS beamline at Maxlab in Lund,
Sweden.