Skip to content

Commit b1d150d

Browse files
authored
Merge branch 'develop' into GEOPY-2310
2 parents e09d803 + f0ac9ff commit b1d150d

33 files changed

Lines changed: 42 additions & 58 deletions

simpeg_drivers-assets/uijson/direct_current_2d_inversion.ui.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@
432432
"cooling_rate": {
433433
"group": "Optimization",
434434
"label": "Iterations per beta",
435-
"value": 2,
435+
"value": 1,
436436
"min": 1,
437437
"LineEdit": false,
438438
"max": 10,
@@ -489,7 +489,7 @@
489489
"group": "Update sensitivity weights directive",
490490
"tooltip": "Update sensitivity weight threshold",
491491
"label": "Threshold (%)",
492-
"value": 0.001,
492+
"value": 1.0,
493493
"max": 100.0,
494494
"min": 0.0,
495495
"precision": 3,

simpeg_drivers-assets/uijson/direct_current_3d_inversion.ui.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@
402402
"cooling_rate": {
403403
"group": "Optimization",
404404
"label": "Iterations per beta",
405-
"value": 2,
405+
"value": 1,
406406
"min": 1,
407407
"LineEdit": false,
408408
"max": 10,
@@ -459,7 +459,7 @@
459459
"group": "Update sensitivity weights directive",
460460
"tooltip": "Update sensitivity weight threshold",
461461
"label": "Threshold (%)",
462-
"value": 0.001,
462+
"value": 1.0,
463463
"max": 100.0,
464464
"min": 0.0,
465465
"precision": 3,

simpeg_drivers-assets/uijson/direct_current_batch2d_inversion.ui.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@
413413
"cooling_rate": {
414414
"group": "Optimization",
415415
"label": "Iterations per beta",
416-
"value": 2,
416+
"value": 1,
417417
"min": 1,
418418
"LineEdit": false,
419419
"max": 10,
@@ -470,7 +470,7 @@
470470
"group": "Update sensitivity weights directive",
471471
"tooltip": "Update sensitivity weight threshold",
472472
"label": "Threshold (%)",
473-
"value": 0.001,
473+
"value": 1.0,
474474
"max": 100.0,
475475
"min": 0.0,
476476
"precision": 3,

simpeg_drivers-assets/uijson/induced_polarization_2d_inversion.ui.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@
443443
"cooling_rate": {
444444
"group": "Optimization",
445445
"label": "Iterations per beta",
446-
"value": 2,
446+
"value": 1,
447447
"min": 1,
448448
"LineEdit": false,
449449
"max": 10,
@@ -500,7 +500,7 @@
500500
"group": "Update sensitivity weights directive",
501501
"tooltip": "Update sensitivity weight threshold",
502502
"label": "Threshold (%)",
503-
"value": 0.001,
503+
"value": 1.0,
504504
"max": 100.0,
505505
"min": 0.0,
506506
"precision": 3,

simpeg_drivers-assets/uijson/induced_polarization_3d_inversion.ui.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@
418418
"cooling_rate": {
419419
"group": "Optimization",
420420
"label": "Iterations per beta",
421-
"value": 2,
421+
"value": 1,
422422
"min": 1,
423423
"LineEdit": false,
424424
"max": 10,
@@ -475,7 +475,7 @@
475475
"group": "Update sensitivity weights directive",
476476
"tooltip": "Update sensitivity weight threshold",
477477
"label": "Threshold (%)",
478-
"value": 0.001,
478+
"value": 1.0,
479479
"max": 100.0,
480480
"min": 0.0,
481481
"precision": 3,

simpeg_drivers-assets/uijson/induced_polarization_batch2d_inversion.ui.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@
425425
"cooling_rate": {
426426
"group": "Optimization",
427427
"label": "Iterations per beta",
428-
"value": 2,
428+
"value": 1,
429429
"min": 1,
430430
"LineEdit": false,
431431
"max": 10,
@@ -482,7 +482,7 @@
482482
"group": "Update sensitivity weights directive",
483483
"tooltip": "Update sensitivity weight threshold",
484484
"label": "Threshold (%)",
485-
"value": 0.001,
485+
"value": 1.0,
486486
"max": 100.0,
487487
"min": 0.0,
488488
"precision": 3,

simpeg_drivers/options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ class DirectiveOptions(BaseModel):
413413
auto_scale_misfits: bool = False
414414
every_iteration_bool: bool = True
415415
save_sensitivities: bool = False
416-
sens_wts_threshold: float | None = 1e-3
416+
sens_wts_threshold: float | None = 1e-0
417417

418418

419419
class DrapeModelOptions(BaseModel):

simpeg_drivers/potential_fields/gravity/options.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@
1717
from geoh5py.data import FloatData
1818

1919
from simpeg_drivers import assets_path
20-
from simpeg_drivers.options import BaseForwardOptions, BaseInversionOptions
20+
from simpeg_drivers.options import (
21+
BaseForwardOptions,
22+
BaseInversionOptions,
23+
DirectiveOptions,
24+
)
2125

2226

2327
class GravityForwardOptions(BaseForwardOptions):
@@ -105,3 +109,5 @@ class GravityInversionOptions(BaseInversionOptions):
105109
gyy_uncertainty: FloatData | float | None = None
106110
gyz_uncertainty: FloatData | float | None = None
107111
gzz_uncertainty: FloatData | float | None = None
112+
113+
directives: DirectiveOptions = DirectiveOptions(sens_wts_threshold=1e-3)

simpeg_drivers/potential_fields/magnetic_scalar/options.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
from simpeg_drivers.options import (
2121
BaseForwardOptions,
2222
BaseInversionOptions,
23+
DirectiveOptions,
2324
ModelOptions,
2425
)
2526

@@ -137,3 +138,5 @@ class MagneticInversionOptions(BaseInversionOptions):
137138
inducing_field_declination: float | FloatData
138139

139140
models: MagneticModelOptions
141+
142+
directives: DirectiveOptions = DirectiveOptions(sens_wts_threshold=1e-3)

simpeg_drivers/potential_fields/magnetic_vector/options.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
from simpeg_drivers.options import (
2222
BaseForwardOptions,
2323
BaseInversionOptions,
24+
DirectiveOptions,
2425
ModelOptions,
2526
)
2627

@@ -140,3 +141,5 @@ class MVIInversionOptions(BaseInversionOptions):
140141
inducing_field_inclination: float | FloatData
141142
inducing_field_declination: float | FloatData
142143
models: VectorModelOptions
144+
145+
directives: DirectiveOptions = DirectiveOptions(sens_wts_threshold=1e-3)

0 commit comments

Comments
 (0)