gempy.core.data.KrigingParameters

class gempy.core.data.KrigingParameters(grid: gempy.core.data.Grid, structure: gempy.core.data.Structure)[source]

Class that stores and computes the default values for the kriging parameters used during the interpolation. The default values will be computed from the Grid and Structure linked objects

grid

[s0] Class to generate grids.

Type

Grid

structure

[s1] The structure_data class analyse the different lengths of subset in the interface and orientations categories_dfto pass them to the theano function.

Type

Structure

df

df containing the kriging parameters.

Type

pn.DataFrame

Parameters

Examples using KrigingParameters

Methods

__init__(grid, structure)

Initialize self.

modify_kriging_parameters(attribute, value, …)

Method to modify a given field

set_default_c_o([range_var])

Set default covariance at 0.

set_default_range([extent])

Set default kriging_data range

set_u_grade([u_grade])

Set default universal grade.

str2int_u_grade(**kwargs)

Convert u_grade to ints

__init__(grid: gempy.core.data.Grid, structure: gempy.core.data.Structure)[source]

Initialize self. See help(type(self)) for accurate signature.

modify_kriging_parameters(attribute: str, value, **kwargs)[source]

Method to modify a given field

Parameters
  • attribute (str) – Name of the field to modify

  • value – new value of the field. It will have to exist in the category in order for pandas to modify it.

  • kwargs

    • u_grade_sep (str): If drift equations values are str, symbol that separates the values.

Returns

df where options data is stored

Return type

pandas.DataFrame

str2int_u_grade(**kwargs)[source]

Convert u_grade to ints

Parameters

**kwargs

  • u_grade_sep (str): If drift equations values are str, symbol that separates the values.

Returns:

set_default_range(extent=None)[source]

Set default kriging_data range

Parameters

extent (Optional[float, np.array]) – extent used to compute the default range–i.e. largest diagonal. If None extent of the linked Grid will be used.

Returns:

set_default_c_o(range_var=None)[source]

Set default covariance at 0.

Parameters

range_var (Optional[float, np.array]) – range used to compute the default c_0–i.e. largest diagonal. If None the already computed range will be used.

Returns:

set_u_grade(u_grade: Optional[list] = None)[source]

Set default universal grade. Transform polynomial grades to number of equations

Parameters

u_grade (list) –

Returns: