GaussianBasis.sample_curve#

GaussianBasis.sample_curve(parameters=FieldInfo(annotation=NoneType, required=True, description='Parameters of the saturation transformation.'), days=FieldInfo(annotation=NoneType, required=False, default=14, description='Number of days before and after the basis.', metadata=[Gt(gt=0)]))#

Sample the curve of the saturation transformation given parameters.

Parameters:
parametersxr.Dataset

Dataset with the parameters of the saturation transformation.

daysint

Number of days around basis. Default is 14 days or two weeks before and after the basis for a total of 28 days.

Returns:
xr.DataArray

Curve of the saturation transformation.