CADETProcess.transform.TransformerBase.transform

CADETProcess.transform.TransformerBase.transform#

TransformerBase.transform(x: float | ndarray) float | ndarray[source]#

Transform the input parameter space to the output parameter space.

Applies the transformation function _transform to x after performing input bounds checking. If the transformed value exceeds the output bounds, an error is raised.

Parameters:
xfloat or np.ndarray

Input parameter values.

Returns:
float or np.ndarray

Transformed parameter values.

Raises:
ValueError

If x exceeds input or output bounds and allow_extended_* is False.