Skip to content

Commit c42b326

Browse files
committed
Merge branch 'develop' into GEOPY-1383
2 parents 5d2b81e + 5403deb commit c42b326

24 files changed

Lines changed: 35 additions & 36 deletions

simpeg_drivers/utils/synthetics/meshes/octrees.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def get_octree_mesh(
7575
:return mesh: The discretize TreeMesh object for computations.
7676
"""
7777

78-
mesh = get_base_octree(survey, topography, cell_size, (0, 0, 2), padding_distance)
78+
mesh = get_base_octree(survey, topography, cell_size, (0, 1), padding_distance)
7979

8080
mesh = OctreeDriver.refine_tree_from_points(
8181
mesh, survey.vertices, levels=refinement, finalize=False

tests/plate_simulation/runtest/sweep_test.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,16 @@
1616
from simpeg_drivers import assets_path
1717
from simpeg_drivers.plate_simulation.options import PlateSimulationOptions
1818
from simpeg_drivers.plate_simulation.sweep.driver import PlateSweepDriver
19-
from simpeg_drivers.plate_simulation.sweep.options import SweepOptions
2019
from simpeg_drivers.potential_fields.gravity.options import GravityForwardOptions
21-
from simpeg_drivers.utils.synthetics.options import SurveyOptions
20+
from simpeg_drivers.utils.synthetics.options import SyntheticsComponentsOptions
2221
from simpeg_drivers.utils.synthetics.surveys.factory import get_survey
2322
from simpeg_drivers.utils.synthetics.topography import get_topography_surface
2423

2524

2625
def setup_plate_sweep(workspace) -> SimPEGGroup:
27-
survey_options = SurveyOptions()
28-
data = get_survey(workspace, method="gravity", options=survey_options)
29-
topo = get_topography_surface(workspace, survey_options)
26+
options = SyntheticsComponentsOptions()
27+
data = get_survey(workspace, method="gravity", options=options.survey)
28+
topo = get_topography_surface(workspace, options)
3029

3130
gravity = SimPEGGroup.create(workspace, name="gravity fwd")
3231
options = GravityForwardOptions.model_construct()

tests/run_tests/driver_2d_rotated_gradients_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
# To test the full run and validate the inversion.
4343
# Move this file out of the test directory and run.
4444

45-
target_run = {"data_norm": 0.688327405060795, "phi_d": 190, "phi_m": 70.5}
45+
target_run = {"data_norm": 0.644727102942656, "phi_d": 182, "phi_m": 66.3}
4646

4747

4848
def test_dc2d_rotated_grad_fwr_run(

tests/run_tests/driver_airborne_fem_1d_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
# To test the full run and validate the inversion.
4242
# Move this file out of the test directory and run.
4343

44-
target_run = {"data_norm": 654.2956399855235, "phi_d": 58300, "phi_m": 396}
44+
target_run = {"data_norm": 652.4097142104288, "phi_d": 52800, "phi_m": 341}
4545

4646

4747
def test_fem_fwr_1d_run(

tests/run_tests/driver_airborne_tem_1d_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
# To test the full run and validate the inversion.
4040
# Move this file out of the test directory and run.
41-
target_run = {"data_norm": 5.08855682e-10, "phi_d": 20.2, "phi_m": 169000}
41+
target_run = {"data_norm": 5.043446361560613e-10, "phi_d": 23, "phi_m": 194000}
4242

4343

4444
def test_airborne_tem_1d_fwr_run(

tests/run_tests/driver_airborne_tem_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
# To test the full run and validate the inversion.
4141
# Move this file out of the test directory and run.
42-
target_run = {"data_norm": 4.0476883635425e-08, "phi_d": 22700000, "phi_m": 1030}
42+
target_run = {"data_norm": 4.047707815081421e-08, "phi_d": 22100000, "phi_m": 2920}
4343

4444

4545
def test_bad_waveform(tmp_path: Path):

tests/run_tests/driver_dc_2d_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
# To test the full run and validate the inversion.
4444
# Move this file out of the test directory and run.
4545

46-
target_run = {"data_norm": 0.6441011110410102, "phi_d": 644, "phi_m": 107}
46+
target_run = {"data_norm": 0.606697124141973, "phi_d": 693, "phi_m": 88.5}
4747

4848

4949
def test_dc_2d_fwr_run(

tests/run_tests/driver_dc_b2d_rotated_gradients_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
# To test the full run and validate the inversion.
5050
# Move this file out of the test directory and run.
5151

52-
target_run = {"data_norm": 1.1462051301574965, "phi_d": 59.3, "phi_m": 7.24}
52+
target_run = {"data_norm": 1.1067294238524659, "phi_d": 55.6, "phi_m": 7.08}
5353

5454

5555
def test_dc_rotated_p3d_fwr_run(

tests/run_tests/driver_dc_b2d_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
# To test the full run and validate the inversion.
4848
# Move this file out of the test directory and run.
4949

50-
target_run = {"data_norm": 1.1290474826747758, "phi_d": 2550, "phi_m": 31.9}
50+
target_run = {"data_norm": 1.0912968903879878, "phi_d": 2060, "phi_m": 34.3}
5151

5252

5353
def test_dc_p3d_fwr_run(

tests/run_tests/driver_dc_test.py

Lines changed: 1 addition & 1 deletion
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.1404580196636685, "phi_d": 1.9, "phi_m": 127}
41+
target_run = {"data_norm": 0.1434420468146182, "phi_d": 5.27, "phi_m": 231}
4242

4343

4444
def test_dc_3d_fwr_run(

0 commit comments

Comments
 (0)