pysteps.verification.lifetime.lifetime_accum(lifetime, X_s, X_t)#

Compute the lifetime by integrating the correlation function and accumulate the result into the given lifetime object.

  • X_s (array-like) – Array with the correlation function. Works also with other decaying scores that are defined in the range [0,1]=[min_skill,max_skill].

  • X_t (array-like) – Array with the forecast lead times in the desired unit, e.g. [min, hour].