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
andStructure
linked objects-
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
-
df
¶ df containing the kriging parameters.
- Type
pn.DataFrame
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
-
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:
-