Legacy.BackCompatUtils#

Legacy.BackCompatUtils.py

class ElutioCurvProxy(icurve)#

Bases: object

A proxy class to provide backward compatibility for ElutioCurve. It mimics the interface of ElutioCurve using an instance of Curve.

x#

The x-values of the curve.

Type:

array-like

y#

The y-values of the curve.

Type:

array-like

Initialize the ElutioCurvProxy with a Curve instance. :param icurve: The Curve instance to proxy. :type icurve: Curve

get_primarypeak_i()#

Get the index of the primary peak (maximum y-value).

Returns:

The index of the primary peak.

Return type:

int