gempy.core.data.InterpolationOptions¶
- class gempy.core.data.InterpolationOptions(range: int | float, c_o: float, uni_degree: int = 1, i_res: float = 4, gi_res: float = 2, number_dimensions: int = 3, number_octree_levels: int = 1, kernel_function: gempy_engine.core.data.kernel_classes.kernel_functions.AvailableKernelFunctions = <AvailableKernelFunctions.cubic: KernelFunction(base_function=<function cubic_function at 0x7fe0e6221cf0>, derivative_div_r=<function cubic_function_p_div_r at 0x7fe0e6221d80>, second_derivative=<function cubic_function_a at 0x7fe0e6221e10>, consume_sq_distance=False)>, mesh_extraction: bool = True, compute_scalar_gradient: bool = False, compute_condition_number: bool = False)[source]¶
Methods
__init__
(range, c_o[, uni_degree, i_res, ...])update_options
(**kwargs)Updates the options of the class based on the provided keyword arguments.
Attributes
c_o
compute_corners
compute_scalar_gradient
current_octree_level
debug
debug_water_tight
gi_res
i_res
is_last_octree_level
kernel_function
kernel_options
mesh_extraction
mesh_extraction_fancy
mesh_extraction_masking_options
n_uni_eq
number_dimensions
number_octree_levels
number_octree_levels_surface
range
sigmoid_slope
uni_degree
- __init__(range: int | float, c_o: float, uni_degree: int = 1, i_res: float = 4, gi_res: float = 2, number_dimensions: int = 3, number_octree_levels: int = 1, kernel_function: AvailableKernelFunctions = AvailableKernelFunctions.cubic, mesh_extraction: bool = True, compute_scalar_gradient: bool = False, compute_condition_number: bool = False)[source]¶
- update_options(**kwargs)[source]¶
Updates the options of the class based on the provided keyword arguments.
- Kwargs:
kernel_options (KernelOptions, optional): Options for the kernel. Default is None. number_octree_levels (int, optional): Number of octree levels. Default is 1. current_octree_level (int, optional): Current octree level. Default is 0. compute_scalar_gradient (bool, optional): Whether to compute the scalar gradient. Default is False. dual_contouring (bool, optional): Whether to use dual contouring. Default is True. mesh_extraction_masking_options (MeshExtractionMaskingOptions, optional): Options for dual contouring masking. dual_contouring_fancy (bool, optional): Fancy version of dual contouring. Default is True. debug (bool, optional): Debug mode status. Default is derived from config. debug_water_tight (bool, optional): Debug mode for water-tight conditions. Default is False. tensor_dtype (str, optional): Data type for tensors. Default is derived from config.
- Returns:
None
- Raises:
Warning – If a provided keyword is not a recognized attribute.