ConfigBlockObjective#

class hydromodpy.calibration.ConfigBlockObjective(*, name, metric, uses_outputs, observed_by_output, normalize_cost=False, transform='identity', warmup=0, timeless_outputs=())[source]#

Bases: object

Objective for one [[calibration.objective_blocks]] declaration.

Concatenates the observed vectors of the referenced outputs, receives the simulated vectors at evaluation time via sim.values (Mapping[output_name, Sequence[float]]), computes the block metric and applies the configured normalisation and transform.

timeless_outputs names the outputs whose values carry no time axis, on which a burn-in in samples is refused rather than applied.

Parameters: