Open
Description
Hi @pavoljuhas @sbillinge @st3107,
When I generate PDF using diffpy.srreal.pdfcalculator.PDFCalculator with parameters as following:
rmin = 1.5
rmax = 30
rstep = np.pi / 23.0
qmin = 0.5
qmax = 23
qdamp = 0.04
qbroad = 0.01
adp = 0.008
Then for any structure loaded from CIF, the PDFs generated for this structure are identical for any qmax>23. I have included an example code for your convenience. If you change qmax for some number larger than 23 and use the same cif file, then you will find the output g's are the same.
from diffpy.structure import Structure, loadStructure
from diffpy.srreal.pdfcalculator import PDFCalculator
s = loadStructure(cif_dir)
s.Uisoequiv = 0.008
cfg = {'qmax': 23, 'qmin': 0.5, 'rmin': 1.5, 'rmax': 30, 'rstep': np.pi / 23.0, 'qdamp': 0.04, 'qbroad': 0.01}
pc = PDFCalculator(**cfg)
r, g = pc(s)
Thank you,
Ling
Metadata
Metadata
Assignees
Labels
No labels