pysteps.verification.spatialscores.binary_mse_compute

pysteps.verification.spatialscores.binary_mse_compute

pysteps.verification.spatialscores.binary_mse_compute(bmse, return_scales=True)

Compute the BMSE.

Parameters
bmse: dict

The BMSE object initialized with pysteps.verification.spatialscores.binary_mse_init() and accumulated with pysteps.verification.spatialscores.binary_mse_accum().

return_scales: bool, optional

Whether to return the spatial scales resulting from the wavelet decomposition.

Returns
BMSE: array_like

One-dimensional array containing the binary MSE for each spatial scale.

scales: list, optional

If return_scales=True, return the spatial scales in pixels resulting from the wavelet decomposition.