TanhSaturationBaselined.sample_curve#
- TanhSaturationBaselined.sample_curve(parameters=FieldInfo(annotation=NoneType, required=True, description='Parameters of the saturation transformation.'), max_value=FieldInfo(annotation=NoneType, required=False, default=1.0, description='Maximum range value.', metadata=[Gt(gt=0)]))#
Sample the curve of the saturation transformation given parameters.
- Parameters:
- parameters
xr.Dataset
Dataset with the parameters of the saturation transformation.
- max_value
float
, optional Maximum value of the curve, by default 1.0.
- parameters
- Returns:
xr.DataArray
Curve of the saturation transformation.