McXtrace logo

McXtrace - An X-ray ray-trace simulation package

ESRF; SAXSLAB Niels Bohr Institute DTU Physics

McXtrace

Download
 Components
 Linux Installation (deb/rpm)
 Mac OSX Installation
 Unix Install (src code)
 Windows Installation

Project Status
 Project Partners
 Project People
 Goal

Mailing list

Links

Publications

Minutes of Meetings

McXtrace Art

About McXtrace

Documentation
 Commands
 Tutorial

Search


McXtrace : Components/Instruments Library

[ sources | optics | samples | monitors | misc | contrib | examples ]

[ User Manual | Component Manual | Data files | /usr/share/mcxtrace/1.5 ]

Components and Instruments from the Library for McXtrace

Names in Boldface denote components that are properly documented with comments in the source code.

Sources
Name Origin Author(s) Source code Description
Bending_magnet DTU Physics Erik Knudsen comp Model of a bending magnet source
Source_div Risoe Erik Knudsen comp X-ray source with Gaussian or uniform divergence
Source_flat Risoe Erik Knudsen comp A flat rectangular or circular surface emitting x-rays
Source_gaussian NBI Jana Baltser & Erik Knudsen comp Gaussian cross-section source
Source_genesis13 (Unknown) (Unknown) comp
Source_lab Kgs. Lyngby Erik Bergbaeck Knudsen comp Laboratory x-ray source.
Source_pt Risoe Erik Knudsen comp An x-ray point source
Source_simplex (Unknown) (Unknown) comp
Source_spectra Risoe Erik Knudsen comp Specialized X-ray source for reading in SPECTRA source definitions
Undulator DTU Physics Erik B. Knudsen comp Model of an undulator source
Wiggler DTU Physics Erik B. Knudsen comp Model of a wiggler source

Optics
Name Origin Author(s) Source code Description
Arm Risoe Kim Lefmann and Kristian Nielsen comp Arm/optical bench
Beamstop Risoe Kristian Nielsen comp Modified by Erik Bergbäck Knudsen Rectangular/circular beam stop.
Bragg_crystal NIST, Gaithersburg, MD, USA Marcus H Mendenhall, NIST comp Based on: Perfect_crystal.comp written by Anette Vickery, Andrea Prodi, Erik Knudsen Perfect, reflecting crystal with common cubic structures (diamond, fcc, or bcc, and others if symmetry form factor multipliers provided explicitly)
Bragg_crystal_bent NIST, Gaithersburg, MD, USA Marcus H Mendenhall, NIST comp Based on: Perfect_crystal.comp written by Anette Vickery, Andrea Prodi, Erik Knudsen Bent, perfect, reflecting crystal with common cubic structures (diamond, fcc, or bcc, and others if symmetry form factor multipliers provided explicitly)
Capillary DTU Physics Erik B Knudsen comp A capillary tube
Chopper_simple Risoe (Unknown) comp Written by; Erik Knudsen Ideal chopper
Filter DTU Physics Erik Knudsen comp Block of an attenuating material
Lens_Kinoform (Unknown) (Unknown) comp
Lens_elliptical NBI Jana Baltser and Erik Knudsen comp
Lens_parab DTU Physics/NBI Jana Baltser and Erik Knudsen comp Parabolic (2D) CRL stack
Lens_parab_Cyl NBI Jana Baltser and Erik Knudsen comp Cylindrical (1D) CRL stack
Lens_simple Risoe Erik Knudsen comp Simple refractive x-ray lens
Mask DTU Physics Erik Knudsen comp A masking image object
Mirror DTU Physics Erik B Knudsen comp Perfectly flat mirror
Mirror_curved Risoe Erik Knudsen comp A curved mirror
Mirror_elliptic Risoe Erik Knudsen comp Idealized elliptic mirror.
Mirror_parabolic Risoe Erik Knudsen comp Idealized parabolic mirror
Mirror_toroid DTU Physics Erik B Knudsen comp Toroidal shape mirror
Multilayer_elliptic NBI Jana Baltser, Peter Willendrup, Anette Vickery, Andrea Prodi, Erik Knudsen comp Elliptic multilayer mirror
Slit DTU Physics Erik Knudsen comp Rectangular/circular slit
Slit_N Risoe Erik Knudsen comp Rectangular/circular slit
TwinKB_ML NBI Jana Baltser, Peter Willendrup, Anette Vickery, Andrea Prodi, Erik Knudsen, Jesper Buch Jensen comp Montel optic model (aka side-by-side Kirkpatrick Baez)
ZonePlate DTU Physics Erik Knudsen comp Zone plate based on Monte Carlo sampling of the Fresnel-Kirchhoff integral

Samples
Name Origin Author(s) Source code Description
Absorption_sample Risoe Erik B Knudsen comp Sample component with absorbing materials.
Molecule_2state DTU Physics Erik B Knudsen comp Disordered optical-excitable molecule sample.
Polycrystal University of Copenhagen Martin Cramer Pedersen (mcpe@nbi.dk) comp Based on code by: Erik Knudsen, Kenichi Oikawa, and Alberto Cereser Polycrystal made from single crystal-like voxels
PowderN Risoe P. Willendrup, L. Chapon, K. Lefmann, A.B.Abrahamsen, N.B.Christensen, E.M.Lauridsen. comp General powder sample (N lines, single scattering, incoherent scattering)
SasView_model SasView, DTU, European Spallation Source ERIC Jakob Garde, Torben Nielsen, Peter Willendrup comp This SANS sample exposes SasView's scattering kernels to McStas. In this way SasView's monodisperse scattering kernels can be call from McStas.
Saxs_spheres DTU Fysik E. B. Knudsen, P. Willendrup, K. Lefmann, L. Arleth comp Sample for Small Angle X-ray Scattering - hard spheres in thin solution, mono disperse.
Single_crystal Risoe Kristian Nielsen comp Mosaic single crystal with multiple scattering vectors, optimised for speed with large crystals and many reflections.

Detectors and monitors
Name Origin Author(s) Source code Description
DivE_monitor DTU Physics Erik B Knudsen comp Based on neutron component by Kristian Nielsen Divergence/Energy monitor.
DivPos_monitor DTU Physics Erik B Knudsen comp Based on neutron component by Kim Lefmann Divergence/position monitor (acceptance diagram).
Divergence_monitor DTU Physics Erik B Knudsen comp Based on neutron component by Kim Lefmann Horizontal+vertical divergence monitor.
EPSD_monitor Risoe Erik Knudsen comp Position-sensitive monitor.
E_monitor Risoe Erik Knudsen comp Based on neutron component written by Kristian Nielsen and Kim Lefmann Energy-sensitive monitor.
L_monitor Risoe Kristian Nielsen and Kim Lefmann comp Modified for X-ray use by Erik Knudsen Wavelength-sensitive monitor.
Monitor Risoe Erik Knudsen comp Based on neutron component written by Kristian Nielsen and Kim Lefmann Energy-sensitive monitor.
Monitor_nD ILL Emmanuel Farhi comp Modified for xray use by: Erik B Knudsen This component is a general Monitor that can output 0/1/2D signals (Intensity or signal vs. [something] and vs. [something] ...) Use in TRACE: Monitor_nD(... options=op ...) How to monitor any instrument/component variable into a Monitor_nD Suppose you want to monitor a variable 'age' which you assign somwhere in the instrument: COMPONENT MyMonitor = Monitor_nD( xwidth = 0.1, yheight = 0.1, user1=age, username1="Age of the Captain [years]", options="user1, auto") AT ... See also the example in PreMonitor_nD to monitor photon parameters cross-correlations. %BUGS The 'auto' option for guessing optimal variable bounds should NOT be used with MPI as each process may use different limits.
PSD_monitor Risoe Erik B Knudsen comp Position-sensitive monitor.
PSD_monitor_4PI Risoe Erik Knudsen comp Spherical position-sensitive detector.
PSD_monitor_coh Risoe Erik Knudsen comp Position-sensitive monitor with phase intergration.
Phi_monitor DTU Physics Erik B Knudsen comp Phase-sensitive monitor.
PreMonitor_nD ILL (France) Emmanuel Farhi comp Modified for xrays by Erik B Knudsen Xray parameters spatial cross-correlation monitor.
TOF_monitor DTU Physics Erik B Knudsen comp Rectangular Time-of-flight monitor.
W_psd_monitor Risoe Erik Knudsen comp Position-sensitive wattage monitor.

Misc
Name Origin Author(s) Source code Description
Air DTU Fysik, NBI M. B. Nielsen comp Component simulating atmospheric air.
Focus ESRF Carsten Detlefs, hacked from slit.comp comp Turn a photon into a Huygens wavelet. To be used with the SPLIT keyword.
MCPL_input DTU Physics Erik B Knudsen comp Source-like component that reads photon state parameters from an mcpl-file.
MCPL_output DTU Physics Erik B Knudsen comp Detector-like component that writes photon state parameters into an mcpl-format binary, virtual-source photon file.
Progress_bar ILL Emmanuel Farhi comp A simulation progress bar
Shadow_input Risoe/ILL Andrea Prodi comp Read x-ray state parameters from SHADOW x-ray event file.
Shadow_output Risoe/ILL Andrea Prodi comp Write x-ray state parameters to SHADOW x-ray event file.

Contributed components
Name Origin Author(s) Source code Description
Attenuating_mask DTU Physics Matteo Busi, Erik B Knudsen comp Attenuating_mask
Bragg_crystal_BC Marcus H. Mendenhall, NIST, Gaithersburg, MD, USA Marcus H Mendenhall, NIST comp Perfect, reflecting crystal with common cubic structures (diamond, fcc, or bcc, and others if symmetry form factor multipliers provided explicitly)
Bragg_crystal_bent_BC Marcus H. Mendenhall, NIST, Gaithersburg, MD, USA Marcus H Mendenhall, NIST comp Based on: Perfect_crystal.comp written by Anette Vickery, Andrea Prodi, Erik Knudsen Bent, perfect, reflecting crystal with common cubic structures (diamond, fcc, or bcc, and others if symmetry form factor multipliers provided explicitly)
Detector_pn NBI, KU Maria Thomsen (mariath@fys.ku.dk) comp Block of a attenuating material
Laue_Crystal_BC Marcus H. Mendenhall, NIST, Gaithersburg, MD, USA Marcus H Mendenhall, NIST comp Perfect, laue crystal with common cubic structures (diamond, fcc, or bcc, and others if symmetry form factor multipliers provided explicitly)
Reflective_grating DTU Kristian Soerensen and Philip Smith (s154443@win.dtu.dk) comp A reflective, multi purpose grating.
SAXSCurve KU-Science Martin Cramer Pedersen (mcpe@nbi.dk) comp Based on a SANS-component in McStas by Søren Kynde A component mimicking the scattering from a given I(q)-curve by using linear interpolation between the given points.
SAXSCylinders KU-Science Martin Cramer Pedersen (mcpe@nbi.dk) comp A sample of monodisperse cylindrical particles in solution.
SAXSEllipticCylinders KU-Science Martin Cramer Pedersen (mcpe@nbi.dk) comp A sample of monodisperse cylindrical particles with elliptic cross section in solution.
SAXSLiposomes KU-Science Martin Cramer Pedersen (mcpe@nbi.dk) comp A sample of polydisperse liposomes in solution (water).
SAXSNanodiscs KU-Science Martin Cramer Pedersen (mcpe@nbi.dk) comp A sample of monodisperse phospholipid bilayer nanodiscs in solution (water).
SAXSNanodiscsFast KU-Science Martin Cramer Pedersen (mcpe@nbi.dk) comp A sample of monodisperse phospholipid bilayer nanodiscs in solution (water).
SAXSNanodiscsWithTags KU-Science Martin Cramer Pedersen (mcpe@nbi.dk) comp A sample of monodisperse phospholipid bilayer nanodiscs in solution (water) - with histidine tag still on the belt proteins.
SAXSNanodiscsWithTagsFast KU-Science Martin Cramer Pedersen (mcpe@nbi.dk) comp A sample of monodisperse phospholipid bilayer nanodiscs in solution (water) - with histidine tag still on the belt proteins.
SAXSPDB KU-Science Martin Cramer Pedersen (mcpe@nbi.dk) and Soren Kynde (kynde@nbi.dk) comp A sample describing a thin solution of proteins. This components must be compiled with the -lgsl and -lgslcblas flags (and possibly linked to the appropriate libraries).
SAXSPDBFast KU-Science Martin Cramer Pedersen (mcpe@nbi.dk) and Soren Kynde (kynde@nbi.dk) comp A sample describing a thin solution of proteins using linear interpolation to increase computational speed. This components must be compiled with the -lgsl and -lgslcblas flags (and possibly linked to the appropriate libraries).
SAXSQMonitor KU-Science Martin Cramer Pedersen (mcpe@nbi.dk) comp Based on a SANS-component in McStas by Soeren Kynde A circular detector measuring the radial average of intensity as a function of the momentum transform in the sample.
SAXSShells KU-Science Martin Cramer Pedersen (mcpe@nbi.dk) comp A sample of monodisperse shell-like particles in solution.
SAXSSpheres KU-Science Martin Cramer Pedersen (mcpe@nbi.dk) comp Based on a SANS-component in McStas by Peter Willendrup A sample of monodisperse spherical particles in solution.

Instrument Examples
Name Origin Author(s) Source code Description
DTU Be_BM_beamline (Be_BM_beamline.instr) Risø DTU E. Knudsen (erkn@risoe.dtu.dk) instr Be-lens Bending Magnet, Low Budget Monochromatic (pink) X-ray beamline
NIST DBD_IBM (DBD_IBM_Si_analyzer.instr) NIST Marcus H. Mendenhall (marcus.mendenhall@nist.gov) instr Mockup of 219/B002 DBD
NIST DBD_IBM (DBD_IBM_Si_analyzer_BC.instr) NIST Marcus H. Mendenhall (marcus.mendenhall@nist.gov) instr Mockup of 219/B002 DBD
ESRF ESRF_ID01 (ESRF_ID01.instr) University of Copenhagen Martin Cramer Pedersen (mcpe@nbi.dk) instr Nano-diffraction imaging beamline at ESRF, Grenoble
ESRF ESRF_ID11 (ESRF_ID11.instr) Risø DTU E. B. Knudsen (erkn@fysik.dtu.dk) instr
SAXSLAB JJ_SAXS (JJ_SAXS.instr) Risø DTU. Erik Knudsen (erkn@risoe.dtu.dk) instr Crude model of a laboratory SAXS-instrument mimicking the type sold by SAXSlab/JJ-Xray Systems.
MAXII MAXII_711 (MAXII_711.instr) DTU Physics Erik B Knudsen (erkn@fysik.dtu.dk) instr Powder diffraction beamline
MAXII MAXII_811 (MAXII_811.instr) DTU Physics Erik B Knudsen (erkn@fysik.dtu.dk) instr XAFS and surface diffraction, Materials Science Beamline 811 at MAX-lab.
MAXIV MAXIV_Bloch (MAXIV_Bloch.instr) DTU Physics Kristian Soerensen and Philip Smith (s154443@win.dtu.dk) instr Bloch high resolution photoelectron spectroscopy beamline under development at the MAX IV synchrotron.
MAXIV MAXIV_DanMAX_pxrd1d (MAXIV_DanMAX_pxrd1d.instr) DTU Physics Erik B Knudsen (erkn@fysik.dtu.dk) instr DanMAX Powder diffraction/Imaging beamline being designed at MAX IV.
MAXIV MAXIV_DanMAX_pxrd2d (MAXIV_DanMAX_pxrd2d.instr) DTU Physics Erik B Knudsen (erkn@fysik.dtu.dk) instr DanMAX Powder diffraction/Imaging beamline being designed at MAX IV.
MAXIV MAXIV_FemtoMAX (MAXIV_FemtoMAX.instr) DTU Physics Erik B Knudsen (erkn@fysik.dtu.dk) instr Simulation of the FemtoMAX short pulse facility at MAX IV laboratory
NSLS2 NSLS2_CHX (NSLS2_CHX.instr) NBI, BNL Jana Baltser instr Coherent hard x-ray beamline @ NSLS II
NIST PBD (PBD_BT.instr) Your institution Marcus H. Mendenhall (marcus.mendenhall@nist.gov) instr Mockup of 219/B004 PBD
DTU Pump_probe (Pump_probe.instr) DTU Fysik Erik B Knudsen instr Design study of a pump and probe type instrument. The sample is an excitable molecule Instrument short description
DTU Pump_probe_solvent (Pump_probe_solvent.instr) DTU Fysik Erik B Knudsen instr Design study of a pump and probe type instrument. The sample is an excitable molecule
SAXSLAB SAXS_saxlab (SAXS_saxlab.instr) (Unknown) (Unknown) instr Written by : Erik Knudsen ( erkn@fysik.dtu.dk ) & Jana Baltser ( jana.baltser@fys.ku.dk ) Date : Apr 2017 Origin : NBI Release : 1.4 Version : 1.0 Model of a x-ray tube based SAXS instrument built by SAXSLAB.
Templates Template_Johann_spec (Template_Johann_spec.instr) DTU Physics Erik B Knudsen (erkn@fysik.dtu.dk) instr Template instrument for a curved crystal Johann-spectrometer
Tests TestSAXS (TestSAXS.instr) KU-Science Martin Cramer Pedersen (mcpe@nbi.dk) and Søren Kynde (kynde@nbi.dk) instr
Tests Test_BM (Test_BM.instr) DTU Physics Erik B Knudsen (erkn@fysik.dtu.dk) instr Test instrument for the Bending_magnet component
Tests Test_CRL (Test_CRL.instr) DTU Physics Erik B Knudsen (erkn@fysik.dtu.dk) instr Unit test instrument for various lens components.
Tests Test_Filter (Test_Filter.instr) Risø DTU Erik Knudsen (erkn@risoe.dtu.dk) instr Test instrument for checking the Filter.comp component
Tests Test_MCPL_input (Test_MCPL_input.instr) Erik B Knudsen instr A test instrument for MCPL_input
Tests Test_MCPL_output (Test_MCPL_output.instr) DTU Erik B Knudsen instr A test instrument for MCPL_output
Tests Test_ML_elliptic (Test_ML_elliptic.instr) Your institution Your name (email) instr Unit test instrument for Multilayer_elliptic
Tests Test_Mask (Test_Mask.instr) DTU Physics Erik B Knudsen (erkn@fysik.dtu.dk) instr A unit test instrument of the Mask component
Tests Test_Mirror_toroid (Test_Mirror_toroid.instr) DTU Physics Erik B Knudsen (erkn@fysik.dtu.dk) instr Unit test instrument to check that Mirrror_toroid is working
Tests Test_Mono (Test_Mono.instr) NBI,Risø DTU A. Vickery, A. Prodi and E. Knudsen instr Compares intensities of Monochromator components.
Tests Test_PowderN (Test_PowderN.instr) Your institution Your name (email) instr Unit-test instrument for the PowderN sample component. Simply a model source illuminating a powder sample. The sample itself is an Fe-powder.
Tests Test_SX (Test_SX.instr) Synchrotron Soleil E. Farhi instr Unit-test instrument for the Single_crystal sample component. Simply a model source illuminating a SX sample. The sample itself is a Mo bulk crystal.
Tests Test_Saxs_spheres (Test_Saxs_spheres.instr) DTU Physics Erik B Knudsen (erkn@fysik.dtu.dk) instr Test instrument for the Saxs_spheres sample component. Simply a model source illuminating a Saxs_spheres sample. The spheres are nominally made from Be in non-absorbing solution.
Tests Test_Sources (Test_Sources.instr) DTU Fysik Erik B Knudsen (erkn@fysik.dtu.dk) instr Test instrument to show that the source components work
Tests Test_capillary (Test_capillary.instr) DTU Physics E. B: Knudsen instr Unit test instrument for the capillary tube component.
Tests test (Test_monitors.instr) Your institution Your name (email) instr Unit test instrument for various monitors.
Tests Test_source_lab (Test_source_lab.instr) DTU Physics Erik B Knudsen instr Unit test instrument for the Source_lab component
Tests Test_undulator (Test_undulator.instr) DTU Physics Erik B Knudsen instr Unit test instrument for the Undulator component
XFEL XFEL_SPB (XFEL_SPB.instr) DTU Fysik Erik B Knudsen (erkn@fysik.dtu.dk) instr European XFEL SPB beamline (on SASE1)
Templates templateSasView (templateSasView.instr) DTU Physics / ESS DMSC Torben Nielsen instr Test instrument for the SasView_model component. No optics. etc.
Templates template_1Slit_Diff (template_1Slit_Diff.instr) DTU Physics Erik B Knudsen (erkn@fysik.dtu.dk) instr An example instrument showing single slit diffraction
Templates template_2Slit_Diff (template_2Slit_Diff.instr) DTU Physics Erik B Knudsen (erkn@fysik.dtu.dk) instr An example instrument showing a Young's double slit experiment
Templates template_body_simple (template_simple.instr) instr

This Component list was updated on Thu Mar 5 10:05:12 2020.


[ McXtrace web site ]


Generated by mxdoc.pl, Maintained by Emmanuel Farhi <farhi@ill.fr>, Peter Willendrup <peter.willendrup@risoe.dk>, and Erik B Knudsen <erkn@fysik.dtu.dk>. Contact us for any comments.


Last Modified: Thursday, 05-Mar-2020 11:05:22 CET
Search website mailinglist archive SVN repos McCode Trac