anaflow.tools.coarse_graining.K_CG_inverse
- K_CG_inverse(K, cond_gmean, var, len_scale, anis, K_well='KH', prop=1.6)[source]
The inverse coarse-graining conductivity.
See:
K_CG()
- Parameters
K (
numpy.ndarray
) – Array with all conductivity values where the function should be evaluatedcond_gmean (
float
) – Geometric-mean conductivity.var (
float
) – Variance of the log-conductivity.len_scale (
float
) – Corralation-length of log-conductivity.anis (
float
) – Anisotropy-ratio of the vertical and horizontal corralation-lengths.K_well (string/float, optional) – Explicit conductivity value at the well. One can choose between the harmonic mean (
"KH"
), the arithmetic mean ("KA"
) or an arbitrary float value. Default:"KH"
prop (
float
, optional) – Proportionality factor used within the upscaling procedure. Default:1.6
- Returns
rad – Array containing the radii belonging to the given conductivity values
- Return type
Examples
>>> K_CG_inverse([7e-4,8e-4,9e-4], 0.001, 1, 10, 1, 2) array([2.09236867, 3.27914996, 4.52143956])