Objective#

class hydromodpy.calibration.Objective(*args, **kwargs)[source]#

Bases: Protocol

Protocol for calibration objectives.

Implementations expose a name and an evaluate method accepting a SimulationOutput. The return value may be an ObjectiveValue, a scalar cost, or a mapping with a total key.