We summarize here different databases (DABAX, xraylib, DABAM) that have been
developed to support our activity in X-ray simulations over two decades. DABAX (DAtaBAse for X-ray applications) is a compilation of tables for x-ray applications. DABAX was created to unify the tabulated data for scattering factors, x-ray atomic cross-sections, refraction indices, structure of crystals used for monochro-mators, etc. The DABAX data files are well-structured and customizable ASCII files (SPEC-structure). Developed for XOP [1], in an old IDL environment, they data files were indexed to allow fast access. XOP provided a collection of computer programs to access, visualize, and process these tables. Today, the files are publically available https://github.com/oasys-kit/DabaxFiles and a python library allows to retrieve and manage them https://github.com/oasys-kit/dabax.
The need of fast access and data simplification for X-ray fluorescence applications drove us to develop a completely new tool for managing these kind of data: xraylib [2]. It is an ANSI C library that provides convenient access to a large number of X-ray related databases, with a focus on quantitative X-ray fluorescence applications. Developed and managed by Tom Schoonjans, it counts today many users and a powerful python interface https://github.com/tschoonj/xraylib. It is well known that the performances of a synchrotron beamline it is limited by the quality of the optical surfaces in mirrors, lenses, etc. To perform realistic simulations it is important to include real measured data of the surface errors. To make available these data and facilitate their access we created DABAM (DAtaBAse for Metrology) [3]. It makes available metrology data (mirror heights and slopes profiles) that can be used with simulation tools for calculating the effects of optical surface errors in the performances of an optical instrument, such as a synchrotron beamline. A proposal for DABAM2D, containg 2D data of the surfaces (instead of single 1D profiles in DABAM) has been launched https://github.com/oasys-esrf-kit/dabam2d.
All databases described here are extensively used in the OASYS suite [4], an adaptable, customizable and efficient beamline modelling platform.
References
[1] Manuel Sanchez del Rio and Roger J. Dejus. XOP: a multiplatform graphical user interface for synchrotron radiation spectral and optics calculations. In Peter Z. Takacs and Thomas W. Tonnessen, editors, Materials, Manufacturing, and Measurement for Synchrotron Radiation Mirrors, volume 3152, pages 148 – 157. International Society for Optics and Photonics, SPIE, 1997.
[2] Tom Schoonjans, Antonio Brunetti, Bruno Golosio, Manuel Sanchez del Rio, Vicente Armando Sol´e, Claudio Ferrero, and Laszlo Vincze. The xraylib library for x-ray–matter interactions. recent developments. Spectrochimica Acta Part B: Atomic Spectroscopy, 66(11):776–784, 2011.
[3] Manuel Sanchez del Rio, Davide Bianchi, Daniele Cocco, Mark Glass, Mourad Idir, Jim Metz, Lorenzo Raimondi, Luca Rebuffi, Ruben Reininger, Xianbo Shi, Frank Siewert, Sibylle Spielmann-Jaeggi, Peter Takacs, Muriel Tomasset, Tom Tonnessen, Amparo Vivo, and Valeriy Yashchuk. DABAM: an open-source database of x-ray mirrors metrology. Journal of Synchrotron Radiation, 23(3):665–678, April 2016.
[4] Luca Rebuffi and Manuel Sanchez del Rio. OASYS (OrAnge SYnchrotron suite): an open-source graphical environment for x-ray virtual experiments. SPIE Proceedings, 10388, Advances in Computational Methods for X-Ray Optics IV, August 2017.