topas-editor and TopasAiD: tools for AI-driven analysis of diffraction and total scattering data
John S. O. Evans, Oliver J. Wagstaff, Ivana R. Evans, Arnt Kern, Alan A. Coelho
Abstract
This paper describes topas-editor and TopasAId, which provide a powerful interface to the TOPAS software suite and allow generative AI-driven automation of complex crystallographic tasks. topas-editor is a TOPAS-aware VS Code extension designed for the rapid creation and editing of TOPAS input files and for interacting with the software. It knows TOPAS syntax, has crystallographic-aware editing features and provides in-line user guidance via hover tips and automated links to reference manuals. TopasAId is a collection of Python routines and machine-accessible reference documents that allow AI-driven automated analysis in TOPAS. It uses a transferable topas-inp-writer skill that can be applied in all TOPAS application areas. We demonstrate the power and reliability of the approach using examples including: a complex Rietveld refinement with sample- and data-related complications; automatic analysis of multiple data sets; a pipeline from indexing through structure solution to refinement; automatic identification of the phases present in a sample; single crystal and powder diffraction analysis of incommensurate structures; and fitting PDF data. TopasAId can be used directly alongside topas-editor, via a stand-alone topasaid-wizard, or via command line interfaces or desktop apps from major AI providers. TopasAId was developed and tested using Claude large language models, but can be configured to use other cloud or local models. topas-editor and TopasAId are freely available.
Create a lesson
Metadata
- Comments
- submitted to Journal of Applied Crystallography
Related papers
Uncovering the Electronic and Structural Origins of Oxygen-Vacancy Formation Energies through Data-Driven Learning
Shared title terminologycond-mat.mtrl-sciZhenhao Zhou, Yi Li, Yang Cao et al.
Comparing Bragg coherent diffraction imaging and molecular statics simulations to investigate three-dimensional strain field in metallic nanocrystals
Shared title terminologycond-mat.mtrl-sciMaxime Dupraz, Guillaume Beutier, Marc Verdier et al.
SO(3)-Covariant Formulation and Identifiability Limits in Powder-Averaged Magnetic Small-Angle Neutron Scattering
Shared title terminologycond-mat.mtrl-sciMichael P. Adams
NeXus as a Community Standard for Data Interoperability in Experimental Materials Science
Shared title terminologycond-mat.mtrl-sciMarkus Kühbach, Lukas Pielsticker, Rubel Mozumder et al.
CrysViz: A Portable, Browser-Based Tool for Crystal Structure Visualisation and Analysis
Shared title terminologycond-mat.mtrl-sciAbhijith S. Parackal, Oscar Bulancea-Lindvall, Henricus R. A. ten Eikelder et al.
Equal-energy magnons with unequal lifetimes: Orbital-pair scattering and a comparison with amplitude-mode decay in Ca_2RuO_4
Shared title terminologycond-mat.mtrl-sciJyotirmoy Sau