GaussianBasis.sample_curve#
- GaussianBasis.sample_curve(parameters=FieldInfo(annotation=Dataset, required=True, description='Parameters of the saturation transformation.', metadata=[InstanceOf()]), days=FieldInfo(annotation=int, 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:
- parameters
xr.Dataset
Dataset with the parameters of the saturation transformation.
- days
int
Number of days around basis. Default is 14 days or two weeks before and after the basis for a total of 28 days.
- parameters
- Returns:
xr.DataArray
Curve of the saturation transformation.