apply_parameter_to_config#
- hydromodpy.calibration.apply_parameter_to_config(cfg, param, value)[source]#
Write
valueintocfgforparam, honouringparam.mode.mode="replace"writes the candidate value as-is atparam.effective_path.mode="scale"multiplies the existing value at that path by the candidate (the base value must be numeric).- Parameters:
cfg (
Any)param (
CalibParameter)value (
float)
- Return type: