SEC.Models.GrmComponentCurve#
SEC.Models.GrmComponentCurve.py
GRM (General Rate Model) component curve.
Each component stores its own (R, k_ext) while sharing (Pe, t0, R_p, D_eff) across all components in the same decomposition.
Copyright (c) 2026, SAXS Team, KEK-PF
- class GrmComponentCurve(x, Pe, t0, R_p, D_eff, a_star, F_ratio, k_ext, R, scale, rg=None)#
Bases:
ComponentCurveA component curve computed from the General Rate Model (GRM).
- x#
Frame-number axis.
- Type:
array-like
- a_star#
Effective intraparticle retention parameter (shared): a_star = eps_p + (1 - eps_p) * a_henry
- Type:
Initializes the ComponentCurve object with the given x-values and parameters.
- Parameters:
x (array-like) – The x-values of the component curve.
params (array-like) – The parameters of the component curve.
- model = 'grm'#
- property y#
The y-values of the component curve evaluated at self.x.
- get_y(x=None)#
Returns the y-values of the component curve.
- Parameters:
x (array-like or None, optional) – The x-values to compute the y-values for. If None, uses the object’s x-values.
- Returns:
The y-values of the component curve.
- Return type:
array-like
- get_xy()#
Returns the x and y values of the component curve.
- Returns:
The x and y values of the component curve.
- Return type:
tuple of array-like
- get_peak_position()#
Return the x-position of the PDF maximum (mode).
- get_scale_param()#
Return the area scaling factor (overrides base-class params[0] which is Pe).