McXtrace
   HOME

TheInfoList



OR:

{{unreferenced, date=October 2012 McXtrace is an open source software package for performing Monte Carlo simulations of X-ray scattering experiments. While its chief objective is to aid in the optimization of beamlines at e.g. synchrotrons, it may also be used for data analysis and at laboratory sources and beamlines. McXtrace is
free software Free software or libre software is computer software distributed under terms that allow users to run the software for any purpose as well as to study, change, and distribute it and any adapted versions. Free software is a matter of liberty, no ...
released under the
GNU GPL The GNU General Public License (GNU GPL or simply GPL) is a series of widely used free software licenses that guarantee end users the four freedoms to run, study, share, and modify the software. The license was the first copyleft for general us ...
. McXtrace was first spun off as a sister project to the well known and proven ''neutron'' ray-tracing package
McStas McStasWillendrup, P.; Farhi E.; Knudsen E.; Filges U.; Lefmann K; McStas: past, present and future. Journal of Neutron Research 17, 2014 pp. 35-43 is free and open-source (GNU General Public License) software simulator for neutron scattering exp ...
in a project funded jointly by: * DTU Physics at The Technical University of Denmark (DTU) * The European Synchrotron Radiation Facility (ESRF) (http://www.esrf.eu) * Niels Bohr Institute at University of Copenhagen (KU) * The Danish Strategic Research Council under the NaBiIT program * SAXSLAB ApS. aka. JJ-XRay Systems (http://www.jjxray.dk)


Description

McXtrace works in the way that a user describes his/her beamline in a special file. This file is then analyzed by the system and converted into a c-file which may be compiled on the target computing system where the simulation is to be run. The beamline file generally contains relative coordinates of the devices present in the beamline. McXtrace is well suited to describe X-ray synchrotron beam-lines by assembling a series of so-called components: * a photon source * optics * samples * detectors and monitors Even-though McXtrace is similar to other pure ray-tracing such as XRT, SRW, OASYS/Shadow for the source and optics, what makes it different resides in its ability to handle sample models: * powder diffraction * single crystal diffraction * absorption (XAS), which also covers tomography applications * small-angle scattering * inelastic scattering (IXS, currently from liquids and amorphous systems) * fluorescence, Compton and Rayleigh


References

* Erik Bergbäck Knudsen, Andrea Prodi, Jana Baltser, Maria Thomsen, P Kjær Willendrup, M Sanchez del Rio, Claudio Ferrero, Emmanuel Farhi, Kristoffer Haldrup, Anette Vickery, et al. Mcxtrace: a monte carlo software package for simulating x-ray optics, beamlines and experiments. Journal of Applied Crystallography, 46(3):679-696, 2013. * Erik Bergbäck Knudsen, A Prodi, Peter Kjær Willendrup, Kim Lefmann, J Baltser, C Gundlach, M Sanchez del Rio, C Ferrero, and Robert Feidenhans'l. McXtrace: A modern ray-tracing package for X-ray instrumentation. In Proceedings of SPIE, volume 8141, page 81410G, 2011. * J. Baltser, E. Knudsen, A. Vickery, O. Chubar, A. Snigirev, G. Vaughan, R. Feidenhans'l, and K. Lefmann. Advanced simulations of x-ray beam propagation through crl transfocators using ray-tracing and wavefront propagation methods. In Proceedings of SPIE, volume 8141, page 814111, 2011. * A. Prodi, E. Knudsen, P. Willendrup, S. Schmidt, C. Ferrero, K. Lefmann, et al. A monte carlo approach for simulating the propagation of partially coherent x-ray beams. In Proceedings of SPIE, volume 8141, page 814108, 2011.


External links


McXtrace website

Shadow/XOP site at the ESRF

DTU Physics

Niels Bohr Institute
Free simulation software