SaturationTransformation.sample_curve#

SaturationTransformation.sample_curve(parameters, max_value=1.0)[source]#

Sample the curve of the saturation transformation given parameters.

Parameters:
parametersxr.Dataset

Dataset with the parameters of the saturation transformation.

max_valuefloat, optional

Maximum value of the curve, by default 1.0.

Returns:
xr.DataArray

Curve of the saturation transformation.