4444# To test the full run and validate the inversion.
4545# Move this file out of the test directory and run.
4646
47- target_mvi_run = {"data_norm" : 149.1011743401604 , "phi_d" : 11.2 , "phi_m" : 0.0351 }
47+ target_mvi_run = {"data_norm" : 177.6657250156235 , "phi_d" : 15.6 , "phi_m" : 0.0556 }
4848
4949
5050def test_magnetic_vector_fwr_run (
@@ -99,7 +99,7 @@ def test_magnetic_vector_fwr_run(
9999def test_magnetic_vector_run (
100100 tmp_path : Path ,
101101 caplog ,
102- max_iterations = 3 ,
102+ max_iterations = 5 ,
103103 upper_bound = 2.5e-3 ,
104104 pytest = True ,
105105):
@@ -152,7 +152,7 @@ def test_magnetic_vector_run(
152152 lower_bound = 1e-6 ,
153153 upper_bound = upper_bound ,
154154 max_global_iterations = max_iterations ,
155- initial_beta_ratio = 2e -2 ,
155+ initial_beta_ratio = 5e -2 ,
156156 )
157157 params .write_ui_json (path = tmp_path / "Inv_run.ui.json" )
158158 if caplog :
@@ -179,7 +179,7 @@ def test_magnetic_vector_run(
179179
180180 out_group = run_ws .get_entity ("Magnetic Vector Inversion" )[0 ]
181181 mesh = out_group .get_entity ("mesh" )[0 ]
182- assert len (mesh .property_groups ) == 5
182+ assert len (mesh .property_groups ) == 8
183183 assert len (mesh .fetch_property_group ("Iteration_0" ).properties ) == 2
184184 assert len (mesh .fetch_property_group ("LP models" ).properties ) == 6
185185 assert (
@@ -256,7 +256,7 @@ def test_magnetic_vector_reference(
256256 test_magnetic_vector_fwr_run (
257257 Path ("./" ),
258258 n_grid_points = 20 ,
259- cell_size = (20 .0 , 20 .0 , 20 .0 ),
259+ cell_size = (5 .0 , 5 .0 , 5 .0 ),
260260 refinement = (4 , 4 ),
261261 )
262262 test_magnetic_vector_run (
0 commit comments