pyesmda.get_ensemble_variance¶
- pyesmda.get_ensemble_variance(m_ensemble: ndarray[Any, dtype[float64]]) ndarray[Any, dtype[float64]][source]¶
Get the given ensemble variance (diagonal terms of the covariance matrix).
- Parameters:
m_ensemble (NDArrayFloat) – Ensemble of realization with diemnsions (\(N_{e}, N_{m1}\)).
- Returns:
The variance as a 1d array.
- Return type:
NDArrayFloat
- Raises:
ValueError – If the ensemble is not a 2D matrix.