SAXS.Models.Simple#
SAXS/Models/Simple.py
- guinier_porod(q, G, Rg, d, return_also_q1=False)#
Guinier-Porod model. Combines the Guinier and Porod regimes for small-angle scattering.
- Parameters:
q (float or array-like) – The scattering vector magnitude.
G (float) – The Guinier prefactor.
Rg (float) – The radius of gyration.
d (float) – The Porod exponent.
return_also_q1 (bool, optional) – If True, return the value of q1 as well.
- Returns:
w (float or array-like) – The calculated scattering intensity.
q1 (float, optional) – The value of q1, returned only if return_also_q1 is True.