Skip to content

Commit 34bff7c

Browse files
committed
[CLN] Refactor field names for clarity
1 parent dcff49e commit 34bff7c

File tree

4 files changed

+3
-10
lines changed

4 files changed

+3
-10
lines changed

examples/examples/real/Alesmodel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
# The octree refinement is making the octree grid almost dense, and smaller chunks are needed to avoid running out of memory.
141141
# Adjusting parameters accordingly:
142142

143-
geo_model.interpolation_options.evaluation_options.error_threshold = 0.5
143+
geo_model.interpolation_options.evaluation_options.octree_error_threshold = 0.5
144144
geo_model.interpolation_options.evaluation_options.evaluation_chunk_size = 50_000
145145

146146
# %%

examples/examples/real/Moureze.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
# %%
149149
geo_model.interpolation_options.kernel_options.range *= 0.2
150150
geo_model.interpolation_options.evaluation_options.verbose = True
151-
geo_model.interpolation_options.evaluation_options.error_threshold = 1.5
151+
geo_model.interpolation_options.evaluation_options.octree_error_threshold = 1.5
152152
geo_model.interpolation_options.evaluation_options.number_octree_levels_surface = 5
153153

154154
# %%

examples/tutorials/z_other_tutorials/a1_fold.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,6 @@
6262

6363
interpolation_options: gp.data.InterpolationOptions = geo_model.interpolation_options
6464

65-
interpolation_options.kernel_options.range = 1.7
66-
interpolation_options.evaluation_options.number_octree_levels_surface = 4
67-
interpolation_options.evaluation_options.compute_scalar_gradient = False
68-
interpolation_options.evaluation_options.curvature_threshold = 1
69-
interpolation_options.evaluation_options.min_octree_level = 1
70-
71-
interpolation_options.evaluation_options.verbose = True
7265

7366
# %%
7467
# Compute the geological model

gempy/API/initialization_API.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def create_geomodel(
5858
)
5959

6060
interpolation_options: InterpolationOptions = InterpolationOptions(
61-
range=5,
61+
range=1.7,
6262
c_o=10,
6363
mesh_extraction=True,
6464
number_octree_levels=refinement,

0 commit comments

Comments
 (0)