Stats.EghMoment#

Stats.EghMoment.py

class EghMoment(icurve, num_peaks=None)#

Bases: Moment

A class to represent the Egh moment of a SAXS/UV curve. It decomposes the input intensity curve into multiple EGH components and computes the mean and standard deviation of the combined components.

icurve#

The input intensity curve.

Type:

IntensityCurve

num_peaks#

The number of Gaussian peaks to fit.

Type:

int

curves#

The list of fitted Gaussian curves.

Type:

list of GaussianCurve

Initialize the EghMoment object.

Parameters:
  • icurve (IntensityCurve) – The input intensity curve.

  • num_peaks (int, optional) – The number of Gaussian peaks to fit. If None, it will be determined automatically.

get_y_()#

Get the computed y values from the EGH decomposition.

Returns:

The computed y values from the EGH decomposition.

Return type:

array-like

compute_egh_y()#

Compute the y values from the EGH decomposition.

Returns:

The computed y values from the EGH decomposition.

Return type:

array-like