File tree Expand file tree Collapse file tree 1 file changed +26
-3
lines changed Expand file tree Collapse file tree 1 file changed +26
-3
lines changed Original file line number Diff line number Diff line change @@ -27,8 +27,8 @@ def test_outliers_model_1():
27
27
gp .map_stack_to_surfaces (
28
28
gempy_model = model ,
29
29
mapping_object = {
30
- "Young_Series" : ("basin_fill_2" , "basin_fill_1" ),
31
- "Old_Series" : ("basin_top" , "basin_bottom" )
30
+ "Young_Series" : ("basin_fill_2" , "basin_fill_1" ),
31
+ "Old_Series" : ("basin_top" , "basin_bottom" )
32
32
}
33
33
)
34
34
@@ -37,7 +37,12 @@ def test_outliers_model_1():
37
37
model .structural_frame .structural_groups [0 ].structural_relation = StackRelationType .ONLAP
38
38
39
39
# Compute a solution for the model
40
- gp .compute_model (model )
40
+ gp .compute_model (
41
+ gempy_model = model ,
42
+ engine_config = gp .data .GemPyEngineConfig (
43
+ backend = gp .data .AvailableBackends .PYTORCH
44
+ )
45
+ )
41
46
42
47
# Assert
43
48
arrays = model .solutions .raw_arrays # * arrays is equivalent to gempy v2 solutions
@@ -51,3 +56,21 @@ def test_outliers_model_1():
51
56
show_boundaries = False ,
52
57
show = True
53
58
)
59
+
60
+ gpv .plot_2d (
61
+ model = model ,
62
+ show_data = False ,
63
+ show_boundaries = False ,
64
+ show_scalar = True ,
65
+ show = True
66
+ )
67
+
68
+
69
+ gpv .plot_2d (
70
+ model = model ,
71
+ show_data = False ,
72
+ show_boundaries = False ,
73
+ show_scalar = True ,
74
+ series_n = 1 ,
75
+ show = True
76
+ )
You can’t perform that action at this time.
0 commit comments