pyesmda.inflate_ensemble_around_its_mean

pyesmda.inflate_ensemble_around_its_mean(ensemble: numpy.ndarray[Any, numpy.dtype[numpy.float64]], inflation_factor: float) numpy.ndarray[Any, numpy.dtype[numpy.float64]][source]

Inflate the given parameter ensemble around its mean.

\[m^{l+1}_{j} \leftarrow r^{l+1}\left(m^{l+1}_{j} - \frac{1}{N_{e}} \sum_{j}^{N_{e}}m^{l+1}_{j}\right) + \frac{1}{N_{e}}\sum_{j}^{N_{e}}m^{l+1}_{j}\]
Parameters

ensemble (NDArrayFloat) – Ensemble of realization with diemnsions (\(N_{e}, N_{m}\)).

Returns

The inflated ensemble.

Return type

NDArrayFloat