Powerful scriptable ray tracing package xrt

Konstantin Klementiev, Roman Chernikov

Research output: Chapter in Book/Report/Conference proceedingPaper in conference proceedingpeer-review

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.
Original languageEnglish
Title of host publicationAdvances in Computational Methods for X-Ray Optics III
PublisherSPIE
Pages92090A
Volume9209
DOIs
Publication statusPublished - 2014
EventConference on Advances in Computational Methods for X-Ray Optics III - San Diego, CA
Duration: 2014 Aug 182014 Aug 21

Publication series

Name
Volume9209
ISSN (Print)0277-786X
ISSN (Electronic)1996-756X

Conference

ConferenceConference on Advances in Computational Methods for X-Ray Optics III
Period2014/08/182014/08/21

Subject classification (UKÄ)

  • Natural Sciences
  • Physical Sciences

Free keywords

  • x-ray optics simulation
  • ray tracing
  • synchrotron sources
  • wave
  • propagation
  • computing on GPU

Fingerprint

Dive into the research topics of 'Powerful scriptable ray tracing package xrt'. Together they form a unique fingerprint.

Cite this