Hi Marco
Sorry for the slow response
Here is a Diffpy code that should be able to do any PDF calculation you need. The most important broadening parameter is usually the atomic vibrations U or B. PDFgui uses U, while Diffpy can use both.
You might get in trouble with your input file. I just found an error that PDFgui generated cif-files will not be read properly by Diffpy's loadStructure. That might be what messed with you. I will have to report this to Simon.
Cheers Mikkel
from diffpy.Structure import loadStructure
from diffpy.srreal.pdfcalculator import DebyePDFCalculator, PDFCalculator
from matplotlib.pyplot import plot, show
import numpy as np
import matplotlib.pyplot as plt
from diffpy.Structure.atom import Atom
from diffpy.Structure import Structure, Atom, Lattice
#Load in structure to calculate PDF from
structure = loadStructure('Ni.cif' )
#Set the correlated motion parameter. You can also use delta1, but only use one of them!
#They are almost identical, so in practice, which one you use is not important
structure.delta2 = 2.0
# Set the U value of the different atoms below. 0.005 is a good room temperature starting value.
structure[structure.element == 'Ni'].U = 0.005
#structure[structure.element == 'Li'].U = 0.005
#structure[structure.element == 'O'].U = 0.005
#Or we can just set 1 Uiso for all elements
#structure.Uisoequiv = 0.005
#Set the instrumental parameters to something resonable
dpc = PDFCalculator()
dpc.qmin = 0.4
dpc.qmax = 25.0
dpc.rmax = 100
dpc.qdamp = 0.04
dpc.qbroad = 0.001
r, g = dpc(structure)
%matplotlib notebook
plot(r, g)
plt.ylabel('G(r)')
plt.xlabel('r ($\AA$)')
pdf = np.column_stack([r,g])
#np.savetxt('test.cgr', pdf)