diffpy.morph: Python tools for model-independent comparisons between sets of one-dimensional functions
Open Access
- 5 November 2026
- journal article
- Published by American Physical Society (APS) in Physical Review Materials
- Vol. 10 (11)
Abstract
Addresses a need to gain scientific insights from one-dimensional (1D) scientific spectra in model-independent ways. A powerful approach for this is to take differences between pairs of spectra and look for meaningful changes that might indicate underlying chemical, structural, or other modifications. The challenge is that the difference curve may contain uninteresting differences such as experimental inconsistencies and benign physical changes such as the effects of thermal expansion. allows researchers to apply simple transformations, or “morphs,” to one of the datasets to remove the unwanted differences, revealing, when they are present, nontrivial differences. is an open-source Python package available on the Python Package Index and conda-forge. Here, we describe its functionality and apply it to solve a range of experimental challenges on diffraction and pair distribution function data from x-rays and neutrons, though we note that it may be applied to any 1D function in principle.Keywords
All Related Versions
Funding Information
- U.S. Department of Energy (DE-SC0024141)
- U.S. Department of Energy (DE-SC0019212)
- U.S. Department of Energy (DE-SC0019375)
- U.S. Department of Energy (DE-SC0025256)
- W. M. Keck Foundation (1567502)
- Office of Science (DE-FG02-03ER46055)
- National Science Foundation (DMR-0520547)
- National Science Foundation (DMR-2003117)
- Brookhaven National Laboratory (DE-SC0012704)
- European Commission (101185375)
- National Science Foundation Graduate Research Fellowship Program (DGE1106400)
- Kwanjeong Educational Foundation
- Natural Sciences and Engineering Research Council of Canada
- European XFEL in Schenefeld, Gemany at beamline FXE (8015)
This publication has 45 references indexed in Scilit:
- Ultrafast Symmetry Control in Photoexcited Quantum DotsAdvanced Materials, 2024
- Size and shape dependence of optical properties of nanostructuresApplied Physics A, 2020
- Mantid—Data analysis and visualization package for neutron scattering and SR experimentsNuclear Instruments and Methods in Physics Research Section A: Accelerators, Spectrometers, Detectors and Associated Equipment, 2014
- Thermal expansion coefficient of yttria stabilized zirconia for various yttria contentsSolid State Ionics, 2005
- Correlation optimized warping and dynamic time warping as preprocessing methods for chromatographic dataJournal of Chemometrics, 2004
- Parametric Time WarpingAnalytical Chemistry, 2003
- Phase transformations of polymeric CdI2-type IrTe2 under high pressureJournal of Physics and Chemistry of Solids, 2000
- Structure Analysis by Small-Angle X-Ray and Neutron Scattering1987
- On the temperature dependence of the bulk modulus and the Anderson-Grüneisen parameter δ of oxide compoundsJournal of Physics and Chemistry of Solids, 1967
- Theorie des festen Zustandes einatomiger ElementeAnnalen der Physik, 1912