CADETProcess.tools.yamamoto.GradientExperiment#

class CADETProcess.tools.yamamoto.GradientExperiment(time: ArrayLike, c_salt: ArrayLike, c_protein: ArrayLike, gradient_volume: float, c_salt_start: float | None = None, c_salt_end: float | None = None)[source]#

Bases: object

Gradient Experiment Class.

property c_salt_at_max: float#

float: Salt concentration at protein peak maximum in mM.

calculate_normalized_gradient_slope(column_volume: float, total_porosity: float) float[source]#

Calculate normalized concentration gradient slope.

Parameters:
column_volumefloat

Void volume of column in m³.

total_porosityfloat

Total porosity of column.

Returns:
normalized_slopefloat

Gradient slope in mM.

property n_proteins: int#

int: Number of proteins.

plot(x_axis_in_minutes: bool = True, ax: Axes | None = None, setup_figure_kwargs: dict | None = None) tuple[Figure, tuple[Axes, Axes]][source]#

Plot the gradient experiment data.

Parameters:
x_axis_in_minutesbool, default=True

If True, the x-axis will be plotted using minutes.

axOptional[plt.Axes], default=None

Optional Matplotlib Axes. If not provided, a new figure is created.

setup_figure_kwargsOptional[dict], default=None

Additional options to setup the figure.

Returns:
tuple[plt.Figure, tuple[plt.Axes, plt.Axes]]

Figure, primary Axes, and secondary Axes (if created or provided).

property t_at_max: float#

int: Number of proteins.