Synchrotron Data Analysis Software Platform
Software
All softwareBrowse the full catalogueImagingCT, Ptycho, BCDI, HoloDiffraction & scatteringPDF, SAXS, BMX, XPCSSpectroscopyXAS, XRF, XRS, PCA/LCFData toolsConversion, cropping and formatsArtificial intelligenceSparse-view CT, training and inference
Download
Download centreAll software packagesDownload & installLicence, checksums and setup
Documentation
DocumentationAll documentationSoftware manualsUser guidesAPI guidePublic and maintainer APIsDownload & installChecksums and setupDAISY user docs ↗Framework and algorithms
NewsTeamAbout DAISYTORCH platform ↗
中文
DAISY Data Processing Software

Official site of HEPS DAISY data processing software: introductions, online access and downloads.

Navigation
  • Software
  • Download
  • Documentation
  • News
  • Team
  • About DAISY
  • Admin
Links
  • TORCH platform ↗
Institute of High Energy Physics, CAS · HEPS Big Data Centre
← Back to software
Spectroscopy

XASMatch

Desktop XAS/XAFS spectral matching and analysis software with normalization, local/XASDB/Materials Project search, energy alignment, multi-metric ranking, and interactive comparison plots.

BeamlinesID46BM44
Download ↗
XASMatch screenshot

About this software

Overview

XASMatch 1.2.1 is a desktop application for matching and analyzing X-ray absorption spectra (XAS/XAFS). It compares experimental spectra with local spectral libraries, XASDB, and Materials Project theoretical spectra, performs energy alignment, ranks candidates using quantitative similarity measures, and visualizes matched spectra, residuals, candidate materials, and related structural information.

The software is designed for batch experimental data processing and provides column mapping, invalid-tail cleanup, normalization, multiple energy-shift strategies, similarity ranking, and interactive spectrum inspection.

Main Features

  • Data import and column mapping: supports text column data and HDF5/NXS files, recognizes energy and mu columns from labels such as μused, mu, xmu, uTrans, and norm, and allows the mapping to be changed for a batch.
  • Invalid data cleanup: removes failed acquisition rows at the end of a spectrum, including non-finite values and zero-mu rows associated with dead acquisition channels.
  • XAS preprocessing: E0 estimation, pre-edge subtraction, normalization, energy-unit conversion, and normalization-range handling.
  • Multi-source matching: local databases, the XASDB service, and Materials Project XAS data.
  • Energy alignment: E0, peak, and spectrum-correlation shifts with original, shifted, and residual plots.
  • Similarity measures: PCM, Frechet distance, curve area, curve length, DTW, cosine, Pearson, Euclidean, Manhattan, Minkowski, Chebyshev, and related methods.
  • Interactive plots: PyQt5 and pyqtgraph provide drag, zoom, legends, and residual inspection.
  • Result export: matching tables, PNG figures, and parameter summaries for reporting and reproducibility.

Scope

XASMatch is intended for rapid XAS/XAFS screening, candidate-phase comparison, energy-calibration checks, spectral similarity analysis, and batch result review at beamlines such as HEPS ID46 and BM44.

Compatibility

Version 1.2.1 is distributed as a Windows x64 single-file application and provides a bilingual Chinese/English interface.

Software interface

XASMatch 1.2.1 maximized workspace showing a ZnS experimental spectrum matched against Materials Project spectra, with energy shifts, candidates, and the sample list.
XASMatch 1.2.1 maximized workspace showing a ZnS experimental spectrum matched against Materials Project spectra, with energy shifts, candidates, and the sample list.

Features & algorithms

Experimental data import and column mapping

Text and HDF5/NXS input with header-based energy/mu preselection and one mapping for the whole batch.

Invalid-tail cleanup

Detects failed acquisition rows from energy, mu, and acquisition-channel states and removes invalid trailing points.

Normalization and XAS preprocessing

E0 estimation, pre-edge subtraction, normalization, energy-unit conversion, and edge-range handling.

Local, XASDB, and Materials Project search

Retrieves candidate spectra from local libraries, XASDB, and Materials Project theoretical data.

Energy alignment and spectral comparison

E0, peak, and correlation-based shifts with original, shifted, and residual plots.

Multi-metric similarity ranking

PCM, Frechet, area, length, DTW, cosine, Pearson, Euclidean, and related metrics.

Interactive plots and result export

Draggable and zoomable pyqtgraph views with matching tables, PNG figures, and parameter records.

Available versions

VersionPlatformFile sizePublishedDownloads
1.2.1
XASMatch.exe
Windows · x6477 MB19/11/20260

Download links are time-limited and support resume; verify the SHA-256 checksum.

Contacts

刘
刘建利
liujianli@ihep.ac.cn

Contact the maintainers above for usage, adaptation or customisation.