SEC.Models.EdmComponentCurve#

SEC.Models.EdmComponentCurve.py

class EdmColumn(params)#

Bases: object

A class to represent an EDM column.

params#

The parameters of the EDM column (N, T, me, mp, x0, tI, N0, poresize, timescale).

Type:

tuple

Initializes the EDM column.

Parameters:

params (tuple) – The column parameters (N, T, me, mp, x0, tI, N0, poresize, timescale).

get_params()#

Returns the parameters of the EDM column.

Returns:

The parameters of the EDM column.

Return type:

tuple

class EdmComponentCurve(x, params)#

Bases: ComponentCurve

A class to represent an EDM component curve.

x#

The x values.

Type:

array-like

params#

The parameters of the EDM column (N, T, me, mp, x0,

Type:

tuple

Initializes the EDM component curve. :param x: The x values. :type x: array-like :param params: The column parameters (N, T, me, mp, x0, tI, N0, poresize, timescale). :type params: tuple

get_y(x=None)#

Returns the y values for the given x values.

Parameters:

x (array-like or None, optional) – The x values to get the y values for. If None, uses the object’s x values.

Return type:

array-like

get_xy()#

Returns the x and y values as a tuple.

Returns:

A tuple containing the x values and the corresponding y values.

Return type:

tuple

get_peak_top_x()#

Returns the x value at the peak top.

Raises:

NotImplementedError – If the peak top x calculation is not implemented for the current model.