pysteps.verification.detcontscores.det_cont_fct_init
pysteps.verification.detcontscores.det_cont_fct_init¶
- pysteps.verification.detcontscores.det_cont_fct_init(axis=None, conditioning=None, thr=0.0)¶
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 used for the verification. The default, conditioning=None, includes all pairs. With conditioning=”single”, only pairs with either pred or obs > thr are included. With conditioning=”double”, only pairs with both pred and obs > thr are included.
- thr: float
Optional threshold value for conditioning. Defaults to 0.
- Returns
- out: dict
The verification error object.