get_pdf#
- PDFGenerator1D.get_pdf(s_min, s_max=None, r_min=0, r_max=20, r_increment=0.01)[source]#
[Deprecated] Calculates the pdf from the reduced intensity signal.
- Parameters:
s_min (float) – Minimum scattering vector s for the pdf calculation. Note that s is defined here as s = 2 sin(theta)/lambda = 1/d.
s_max (float) – Maximum scattering vector s for the pdf calculation. Note that s is defined here as s = 2 sin(theta)/lambda = 1/d.
r_cutoff (list of float) – A list with the format [<r_min>, <r_max>], which sets the limits of the real space axis in the calculated PDF.
r_increment (float) – Step size in r in the extracted PDF.
- Returns:
pdf – A signal of pair distribution functions.
- Return type:
PDF1D
Notes
Deprecated since version 0.15: Function get_pdf() is deprecated and will be removed in version 1.0.0. Use pyxem.signals.diffraction2d.get_pdf() instead.