pysteps.verification.lifetime.lifetime_compute

pysteps.verification.lifetime.lifetime_compute

pysteps.verification.lifetime.lifetime_compute(lifetime)

Compute the average value from the lifetime object.

Parameters
lifetime: dict

A lifetime object created with lifetime_init.

Returns
out: float

The computed lifetime.