Requires pymatgen-core>=2026.9.23; the latest pymatgen-core changes (v2026.10.2, v2026.10.16) are listed in the (pymatgen-core) entries below.
- PR #4715
XRDCalculator,NDCalculatorandTEMCalculatorapply the anisotropic Debye-Waller factorexp(-2π² hᵀU*h)per site when the structure carries theU11_cif...U12_cifsite properties (as written byThermalDisplacementMatrices.to_structure_with_site_properties_Ucif, e.g. from phonopy). Behavior change: structures that already carry these properties now get the factor; structures without them are unchanged. Combining them withsymprec(all three calculators) or withdebye_waller_factors(XRD/ND) raises aValueError. Physics and first implementation by @rkeesey. (by @hrushikesh-s)