gstools_cython.variogram.ma_structured

gstools_cython.variogram.ma_structured(const double[:, :] f, uint8[:, :] mask, str estimator_type='m', num_threads=None)

Variogram estimator for masked structured fields.

Parameters:
  • f (double[:, :]) – structured random field

  • mask (bint[:, :]) – mask for the structured random field

  • estimator_type (str, optional) –

    the estimator function, possible choices:

    • “m”: the standard method of moments of Matheron

    • “c”: an estimator more robust to outliers by Cressie

    Default: “m”

  • num_threads (None or int, optional) – number of OpenMP threads, default: None

Returns:

variogram – estimated variogram

Return type:

double[:]