Skip to content

Commit 560442b

Browse files
committed
Update tests
1 parent 9601cbb commit 560442b

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

tests/run_tests/driver_2d_rotated_gradients_test.py

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

43-
target_run = {"data_norm": 0.6345768240307744, "phi_d": 1090, "phi_m": 3.99}
43+
target_run = {"data_norm": 0.63464358755296, "phi_d": 1100, "phi_m": 5.04}
4444

4545

4646
def test_dc2d_rotated_grad_fwr_run(
@@ -154,13 +154,14 @@ def test_dc2d_rotated_grad_run(
154154
reference_model=100.0,
155155
s_norm=1.0,
156156
x_norm=0.0,
157-
z_norm=0.0,
157+
z_norm=2.0,
158158
max_global_iterations=max_iterations,
159159
initial_beta=None,
160160
initial_beta_ratio=1e0,
161161
percentile=100,
162162
lower_bound=0.1,
163163
cooling_rate=1,
164+
sens_wts_threshold=1.0,
164165
starting_chi_factor=1.0,
165166
chi_factor=0.1,
166167
)

tests/run_tests/driver_dc_2d_test.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,7 @@
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 = {
41-
"data_norm": 0.59563,
42-
"phi_d": 2820,
43-
"phi_m": 16.8,
44-
}
40+
target_run = {"data_norm": 0.5963140277544549, "phi_d": 2640, "phi_m": 20.4}
4541

4642

4743
def test_dc_2d_fwr_run(
@@ -124,6 +120,7 @@ def test_dc_2d_run(tmp_path: Path, max_iterations=1, pytest=True):
124120
initial_beta_ratio=1e0,
125121
percentile=100,
126122
lower_bound=0.1,
123+
sens_wts_threshold=1.0,
127124
cooling_rate=1,
128125
)
129126
params.write_ui_json(path=tmp_path / "Inv_run.ui.json")

0 commit comments

Comments
 (0)