Skip to content

Commit e431369

Browse files
committed
Refine test mesh to stabilize test
1 parent 61d9120 commit e431369

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

tests/run_tests/driver_app_con_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@
3737
# To test the full run and validate the inversion.
3838
# Move this file out of the test directory and run.
3939

40-
target_run = {"data_norm": 0.017182160750439688, "phi_d": 2.69, "phi_m": 1900}
40+
target_run = {"data_norm": 0.019805285484847845, "phi_d": 64.3, "phi_m": 1310}
4141

4242

4343
def test_app_con_fwr_run(
4444
tmp_path: Path,
4545
n_grid_points=2,
4646
refinement=(2,),
47-
cell_size=(20.0, 20.0, 20.0),
47+
cell_size=(10.0, 10.0, 10.0),
4848
):
4949
# Run the forward
5050
opts = SyntheticsComponentsOptions(

tests/run_tests/driver_mt_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
# To test the full run and validate the inversion.
3939
# Move this file out of the test directory and run.
4040

41-
target_run = {"data_norm": 0.024541056615232898, "phi_d": 38.7, "phi_m": 26.7}
41+
target_run = {"data_norm": 0.003974399172372707, "phi_d": 1230, "phi_m": 12.9}
4242

4343

4444
def setup_data(workspace, survey):
@@ -91,7 +91,7 @@ def setup_data(workspace, survey):
9191
def test_magnetotellurics_fwr_run(
9292
tmp_path: Path,
9393
n_grid_points=2,
94-
cell_size=(20.0, 20.0, 20.0),
94+
cell_size=(10.0, 10.0, 10.0),
9595
refinement=(2,),
9696
):
9797
# Run the forward
@@ -202,7 +202,7 @@ def test_magnetotellurics_tiles(
202202
tmp_path: Path,
203203
n_grid_points=32,
204204
refinement=(2,),
205-
cell_size=(20.0, 20.0, 20.0),
205+
cell_size=(10.0, 10.0, 10.0),
206206
):
207207
workpath = tmp_path / f"{__name__}.geoh5"
208208
opts = SyntheticsComponentsOptions(

0 commit comments

Comments
 (0)