Analysing the PDF and total scattering data