Buy article online - an online subscription or single-article purchase is required to access this article.
Download citation
Download citation
link to html
This article presents the Monte Carlo simulation package McXtrace, intended for optimizing X-ray beam instrumentation and performing virtual X-ray experiments for data analysis. The system shares a structure and code base with the popular neutron simulation code McStas and is a good complement to the standard X-ray simulation software SHADOW. McXtrace is open source, licensed under the General Public License, and does not require the user to have access to any proprietary software for its operation. The structure of the software is described in detail, and various examples are given to showcase the versatility of the McXtrace procedure and outline a possible route to using Monte Carlo simulations in data analysis to gain new scientific insights. The studies performed span a range of X-ray experimental techniques: absorption tomography, powder diffraction, single-crystal diffraction and pump-and-probe experiments. Simulation studies are compared with experimental data and theoretical calculations. Furthermore, the simulation capabilities for computing coherent X-ray beam properties and a comparison with basic diffraction theory are presented.

Supporting information

pdf

Portable Document Format (PDF) file https://doi.org/10.1107/S0021889813007991/he5585sup1.pdf
McXtrace: a tutorial example

txt

Text file https://doi.org/10.1107/S0021889813007991/he5585sup2.txt
Example input file


Subscribe to Journal of Applied Crystallography

The full text of this article is available to subscribers to the journal.

If you have already registered and are using a computer listed in your registration details, please email support@iucr.org for assistance.

Buy online

You may purchase this article in PDF and/or HTML formats. For purchasers in the European Community who do not have a VAT number, VAT will be added at the local rate. Payments to the IUCr are handled by WorldPay, who will accept payment by credit card in several currencies. To purchase the article, please complete the form below (fields marked * are required), and then click on `Continue'.
E-mail address* 
Repeat e-mail address* 
(for error checking) 

Format*   PDF (US $40)
   HTML (US $40)
   PDF+HTML (US $50)
In order for VAT to be shown for your country javascript needs to be enabled.

VAT number 
(non-UK EC countries only) 
Country* 
 

Terms and conditions of use
Contact us

Follow J. Appl. Cryst.
Sign up for e-alerts
Follow J. Appl. Cryst. on Twitter
Follow us on facebook
Sign up for RSS feeds