Share Email Print

Proceedings Paper

Powerful scriptable ray tracing package xrt
Author(s): Konstantin Klementiev; Roman Chernikov
Format Member Price Non-Member Price
PDF $17.00 $21.00

Paper Abstract

We present an open source python based ray tracing tool that offers several useful features in graphical presentation, material properties, advanced calculations of synchrotron sources, implementation of diffractive and refractive elements, complex (also closed) surfaces and multiprocessing. The package has many usage examples which are supplied together with the code and visualized on its web page. We exemplify the present version by modeling (i) a curved crystal analyzer, (ii) a quarter wave plate, (iii) Bragg-Fresnel optics and (iv) multiple reflective and non-sequential optics (polycapillary). The present version implements the use of OpenCL framework that executes calculations on both CPUs and GPUs. Currently, the calculations of an undulator source on a GPU show a gain of about two orders of magnitude in computing time. The development version is successful in modelling the wavefront propagation. Two examples of diffraction on a plane mirror and a plane blazed grating are given for a beam with a finite energy band.

Paper Details

Date Published: 5 September 2014
PDF: 16 pages
Proc. SPIE 9209, Advances in Computational Methods for X-Ray Optics III, 92090A (5 September 2014); doi: 10.1117/12.2061400
Show Author Affiliations
Konstantin Klementiev, MAX IV Lab. (Sweden)
Roman Chernikov, Deutsches Elektronen-Synchrotron (Germany)

Published in SPIE Proceedings Vol. 9209:
Advances in Computational Methods for X-Ray Optics III
Manuel Sanchez del Rio; Oleg Chubar, Editor(s)

© SPIE. Terms of Use
Back to Top
Sign in to read the full article
Create a free SPIE account to get access to
premium articles and original research
Forgot your username?