Skip to content

Commit 12fa40d

Browse files
committed
[TEST] Manually cranking the sigmoid slope
1 parent b0072c3 commit 12fa40d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/test_modules/test_outliers.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,14 @@ def test_outliers_model_1():
3535
# Set the relation of the youngest group to Onlap
3636
from gempy_engine.core.data.stack_relation_type import StackRelationType
3737
model.structural_frame.structural_groups[0].structural_relation = StackRelationType.ONLAP
38+
39+
model.interpolation_options.sigmoid_slope = 5_000_000
3840

3941
# Compute a solution for the model
4042
gp.compute_model(
4143
gempy_model=model,
4244
engine_config=gp.data.GemPyEngineConfig(
43-
backend=gp.data.AvailableBackends.PYTORCH
45+
backend=gp.data.AvailableBackends.numpy
4446
)
4547
)
4648

@@ -52,7 +54,7 @@ def test_outliers_model_1():
5254
gpv = require_gempy_viewer()
5355
gpv.plot_2d(
5456
model=model,
55-
show_data=False,
57+
show_data=True,
5658
show_boundaries=False,
5759
show=True
5860
)

0 commit comments

Comments
 (0)