WellModel.variance_gain(model, istress=None, r=None)[source]#

Calculate variance of the gain for WellModel.

Variance of the gain is calculated based on propagation of uncertainty using optimal parameter values and the estimated variances of A and b and the covariance between A and b.

  • model (pastas.Model) – optimized model

  • istress (int or list of int, optional) – index of stress(es) for which to calculate variance of gain

  • r (array_like, optional) – radial distance(s) at which to calculate variance of the gain, only considered if istress is None


var_gain – variance of the gain calculated from model results for parameters A and b.

Return type


See also