Related Experiment Video
Updated: Jun 12, 2026

Analysis of SEC-SAXS data via EFA deconvolution and Scatter
Published on: January 28, 2021
STXMPy: a new software package for automated region of interest selection and statistical analysis of XANES data
Tamás Haraszti1, Michael Grunze, Michael G Anderson
1Biophysical Chemistry, University of Heidelberg, Im Neuenhelmer Feld 253, 69120 Heidelberg, Germany. tamas.haraszti@uni-heidelberg.de.
Background:
Soft X-ray spectromicroscopy based absorption near-edge structure analysis, is a spectroscopic technique useful for investigating sample composition at a nanoscale of resolution. While the technique holds great promise for analysis of biological samples, current methodologies are challenged by a lack of automatic analysis software e. g. for selection of regions of interest and statistical comparisons of sample variability.
Results:
We have implemented a set of functions and scripts in Python to provide a semiautomatic treatment of data obtained using scanning transmission X-ray microscopy. The toolkit includes a novel line-by-line absorption conversion and data filtering automatically identifying image components with significant absorption. Results are provided to the user by direct graphical output to the screen and by output images and data files, including the average and standard deviation of the X-ray absorption spectrum. Using isolated mouse melanosomes as a sample biological tissue, application of STXMPy in analysis of biological tissues is illustrated.
Conclusion:
The STXMPy package allows both interactive and automated batch processing of scanning transmission X-ray microscopic data. It is open source, cross platform, and offers rapid script development using the interpreted Python language.
