Hi, I'm coming back to the same topic.
I'm trying to understand how we should deal with the r_poly value.
I read different papers and many posts around this forum to have an idea, but still, it's not clear to me if r_poly should be used to make G(r) look better (no ripples at the beginning, no strong peaks, with a slope = 4pi*rho*r) or it should be adjusted to let the S(Q) function be coherent with its mathematical description (starts at 0 and tends to 1 as q increases)
I came across examples where S(Q) starts at five or a generally high value due to strong peaks close to Q=0. To have an S(Q) with the correct shape, I had to use rpoly =2 or more, which hinders much of the usable r space with MOF materials, where the first distances are 1.3-1.5A.
On the same topic, I was trying to understand what are the traces present in the plot (FIg1) obtained from
t4 = pdfgetter.getTransformation(4)
t4.plot()
(procedure described here
https://www.diffpy.org/doc/pdfgetx3/tutorial.html#:~:text=y%20default%20the%20tuneconfig()%20function,passed%20to%20the%20tuneconfig()%20function)
and I miss the orange, purple and red ones ...
Another typical situation I came across is represented in Fig 2, which comes from MOFs.
grey line -> rpoly 1.08
blue line -> rpoly 1.6
As u can see, the blue line seems to have a better profile for G(r), although the grey one has a better profile for S(Q), which starts from 0 and tends to 1(but then G(r) has that strong peak at 0.77, which is something that I often see treating PDFs from MOF)
Any help would be really appreciated.