Volume 28, Issue 4 pp. 1245-1252
computer programs

MAP2XANES: a Jupyter interactive notebook for elemental mapping and XANES speciation

Carlo Marini

Corresponding Author

Carlo Marini

ALBA Synchrotron, Cerdanyola del Vallès, Barcelona, 08290 Spain

Carlo Marini, e-mail: [email protected]Search for more papers by this author
Josep Roqué-Rosell

Josep Roqué-Rosell

Universitat de Barcelona, Departament de Mineralogia, Petrologia i Geologia Aplicada, Facultat de Ciències de la Terra, Barcelona, 08028 Spain

Search for more papers by this author
Marc Campeny

Marc Campeny

Museu de Ciències Naturals de Barcelona, Passeig Picasso s/n, Barcelona, 08003 Spain

Search for more papers by this author
Shiva Toutounchiavval

Shiva Toutounchiavval

Universitat Politècnica de Catalunya (UPC) BARCELONATECH, Departament d'Arquitectura de Computadors, Barcelona, 08034 Spain

Search for more papers by this author
Laura Simonelli

Laura Simonelli

ALBA Synchrotron, Cerdanyola del Vallès, Barcelona, 08290 Spain

Search for more papers by this author
First published: 19 May 2021

Abstract

MAP2XANES is an intuitive Jupyter notebook that automatizes the analysis of synchrotron X-ray fluorescence imaging and X-ray absorption spectroscopy for the characterization of complex and heterogeneous samples. The notebook uses basic modules and functions from Numpy, Scipy, Pandas, iPywidgets and Matplotlib libraries for a powerful data reduction process that, in just a few clicks, guides the user through the visualization of elemental maps, space-resolved absorption spectra and their automatized analysis. In particular, by means of linear combination fit of the XANES spectra, the notebook determines the chemical species distribution in the sample under investigation. The direct output of the analysis process is the correlation between the different elemental distributions and the spatial localization of the chemical species detected. An application to mineralogy is thus presented, analyzing the Mn2+, Mn3+ and Mn4+ distribution in a mineral sample of hausmannite (Mn2+Mn23+O4), courtesy of the Museum of Natural Science of Barcelona.

The full text of this article hosted at iucr.org is unavailable due to technical difficulties.