ess.diffraction.pdf.linearized_radial_distribution_function#
- ess.diffraction.pdf.linearized_radial_distribution_function(rdf)[source]#
Compute the linearized radial distribution function from a radial distribution function.
Computes the linearized radial distribution function
\[\text{T}(r) = \frac{\text{RDF}(r)}{r}\]where \(\text{RDF}(r)\) is the
radial_distribution_function().\(\text{RDF}\) and \(T\) are both defined on bin-edges in \(r\). The \(r\) variable in the denominator is computed on the
midpointsofr.- Parameters:
rdf (
DataArray) –Radial distribution function\(\text{RDF}(r)\).- Returns:
t (
scipp.DataArray) – 1D array representing \(T(r)\).
See also
ess.diffraction.pdfModule with related functions.