Guinier.RgCurveUtils#

This module contains functions used to calculate a Rg curve, which is maked of Rg values computed from scattering curves.

compute_rgcurve_info(xrdata)#

Computes Rg curve information from XR data. It uses the SimpleGuinier class to compute Rg values for each j-curve in the XR data.

Parameters:

xrdata (XrData) – The XR data from which to compute the Rg curve information.

Returns:

rginfo_list – A list of tuples where each tuple contains (index, SimpleGuinier result).

Return type:

list of tuples

compute_rgcurve_info_atsas(xrdata)#

Computes Rg curve information from XR data using ATSAS autorg. It uses the AutorgRunner class to compute Rg values for each j-curve in the XR data.

Parameters:

xrdata (XrData) – The XR data from which to compute the Rg curve information.

Returns:

rginfo_list – A list of tuples where each tuple contains (index, ATSAS Autorg result).

Return type:

list of tuples