pypomp.core.parameters.PompParameters.set_params

PompParameters.set_params(value: Mapping[str, int | float | number | Array] | Sequence[Mapping[str, int | float | number | Array]] | DataArray) None[source]

Set or overwrite the parameter values.

Parameters:

value (Mapping[str, Numeric] | Sequence[Mapping[str, Numeric]] | xr.DataArray) – The new parameter values. Accepts: - A single dictionary: dict[str, Numeric] - A list of dictionaries: list[dict[str, Numeric]] (must have identical keys) - An xarray.DataArray of shape (theta_idx, unit, parameter)