API Reference#
Purpose#
pyesmda is an open-source, and object-oriented library that provides a user friendly implementation of one of the most popular ensemble based method for parameters estimation and data assimilation: the Ensemble Smoother with Multiple Data Assimilation (ES-MDA) algorithm, introduced by Emerick and Reynolds [1-2].
The following functionalities are directly provided on module-level.
Classes#
ESMDA implementations.
|
Ensemble Smoother with Multiple Data Assimilation. |
|
Restricted Step Ensemble Smoother with Multiple Data Assimilation. |
|
Data Misfit Controller Ensemble Smoother with Multiple Data Assimilation. |
Selection of the inversion computation:
|
Inversion type for the computation of \(\mathbf{C}_{\mathrm{md}} (\mathbf{C}_{\mathrm{dd}} + \alpha \mathbf{C}_{\mathrm{d}})^{-1} (\mathbf{d} - \mathbf{Y})\). |
Objective functions#
|
Compute the normalized objective function for a given member \(j\). |
Covariance approximation#
|
Return the zero-mean (i.e., centered) anomaly matrix of the ensemble. |
|
Get the given ensemble variance (diagonal terms of the covariance matrix). |
|
Compute the upper triangular part of the empirical covariance matrix X. |
Approximate the covariance matrix between two ensembles in the EnKF way. |
|
|
Inflate the given parameter ensemble around its mean. |
Localization#
Classes to parametrize the localization in a flexible way.
Abstract class for localization strategy. |
|
Instance to use when no localization is to be applied. |
|
|
Fixed localization strategy. |
Correlation functions#
|
Transform the distances into weights between 0 and 1 with a beta function. |
|
Transform the distances into weights between 0 and 1 with a fifth order function. |
Other functions#
|
Check and raise an exception if there is any NaNs in the input predictions array. |