Thanks for the question Ali.
We may need you to make your question a bit more precise to help. Homogenous strain is captured in a change in the average position of a PDF peak, e.g., in the change in position of near neighbor peaks vs NP size in NPs, for example (discussed here for example: Xiaohao Yang, Ahmad S. Masadeh, James R. McBride, Emil S. Bo zin, Sandra J. Rosenthal, and
Billinge, Simon J. L. \Conrmation of disordered structure of ultrasmall CdSe nanoparticles from x-ray atomic pair distribution function analysis". In: Phys. Chem. Chem. Phys. 15.22 (2013),
pp. 8480{8486. doi: 10.1039/C3CP00111C. url:
http://pubs.rsc.org/en/content/articlelanding/2013/cp/c3cp00111c).
Inhomogenous strain (more correctly "heterogeneous strain". i.e., strain that varies from place to place on the nanoparticle) affects the PDF peak width. It is also described in the paper cited above.
Strain only makes sense with respect to a reference "unstrained" state, which might be a PDF from the material without a stress applied, or for residual stresses/strains, some "ideal" state that you, as the scientist have to define.
Crystallographically, we often discuss strain in terms of changes in planar d-spacings, which can vary by direction in the crystal, and it is determined by measuring the positions of individual Bragg peaks and, for example, their position can vary more in some directions than others in the crystal in response to a particular stress state, because the crystal is softer in some directions than others. This implies measuring the position of individual Bragg peaks, or having a model that captures this behavior. You are probably aware of complete communities of people studying this in crystals (i.e., "size-strain"). The real-space PDF equivalent is studying PDF peaks that correspond to interatomic vectors that point in different directions in the crystal. There is not a large community of people studying this yet, but in principle building models with diffpy-CMI that parameterize and capture that behavior will be possible.....but the first step is coming up with the (mathematical) model, or models, as a hypothesis that you want to test. Only then can it be discussed how to code it in CMI....
S