This script estimates the theoretical SAXS PDDF or P(r) function of a given structure from its PDB file. The Output is scaled so that ΣiP(ri)= i (Number of bins) This ensures that the value in each bin is independent of the number of bins and simplifies the comparison of multiple P(r) curves.
Select the PDB file:
Calculate PDDF: