pysteps.verification.detcontscores.det_cont_fct_init

pysteps.verification.detcontscores.det_cont_fct_init(axis=None, conditioning=None)

Initialize a verification error object.

Parameters:
axis : {int, tuple of int, None}, optional

Axis or axes along which a score is integrated. The default, axis=None, will integrate all of the elements of the input arrays.

If axis is -1 (or any negative integer), the integration is not performed and scores are computed on all of the elements in the input arrays.

If axis is a tuple of ints, the integration is performed on all of the axes specified in the tuple.

conditioning : {None, ‘single’, ‘double’}, optional

The type of conditioning on zeros used for the verification. The default, conditioning=None, includes zero pairs. With conditioning=’single’, only pairs with either pred or obs > 0 are included. With conditioning=’double’, only pairs with both pred and obs > 0 are included.

Returns:
out : dict

The verification error object.