pysteps.verification.spatialscores.intensity_scale_init#
- pysteps.verification.spatialscores.intensity_scale_init(name, thrs, scales=None, wavelet='Haar')#
Initialize an intensity-scale verification object.
- Parameters:
name (string) –
A string indicating the name of the spatial verification score to be used:
Name
Description
FSS
Fractions skill score
BMSE
Binary mean squared error
thrs (float or array_like) – Scalar or 1-D array of intensity thresholds for which to compute the verification.
scales (float or array_like, optional) – Scalar or 1-D array of spatial scales in pixels, required if
name="FSS"
.wavelet (str, optional) – The name of the wavelet function, required if
name="BMSE"
. Defaults to the Haar wavelet, as described in Casati et al. 2004. See the documentation of PyWavelets for a list of available options.
- Returns:
out – The intensity-scale object.
- Return type:
dict