“…The method can be used for both powder samples and single crystals (Roth et al, 2018), the latter case yielding the three-dimensional difference magnetic pair distribution function (3D-∆mPDF). Magnetic PDF analysis has been successfully applied to the study of long-and short-range magnetic correlations in numerous magnetic systems, including strongly correlated electron systems (Frandsen & Billinge, 2015;Frandsen et al, 2016a;Frandsen et al, 2020), geometrically frustrated magnets (Frandsen et al, 2017;Roth et al, 2019;Lefrançois et al, 2019;Dun et al, 2021), spin glass systems (Zhang et al, 2019), technologically relevant ferromagnets and antiferromagnets (Frandsen et al, 2016b;Kodama et al, 2017;Baral et al, 2022), and others (Tripathi et al, 2019). Here, we present diffpy.mpdf, the first full-featured, open-access software package for mPDF analysis.…”