floatcsep.evaluation.Evaluation.compute

Evaluation.compute(timewindow, catalog, model, path, ref_model=None, region=None)[source]
Runs the test, structuring the arguments according to the

test-typology/function-signature

Parameters:
  • timewindow (list[datetime, datetime]) – Pair of datetime objects representing the testing time span

  • catalog (str) – Path to the filtered catalog

  • model (Model, list[Model]) – Model(s) to be evaluated

  • ref_model – Model to be used as reference

  • path – Path to store the Evaluation result

  • region – region to filter a catalog forecast.

Returns: