Skip to content

Commit db5add9

Browse files
committed
Update example
1 parent 1aa5fa3 commit db5add9

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

tutorials/08-tdem/plot_inv_3_tem_3d.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@
258258
# & (mesh.gridCC[ind_active, 2] < -150.0)
259259
# )
260260

261-
face = np.r_[
261+
face = np.r_[
262262
np.c_[-50, -100, -50],
263263
np.c_[-50, 100, -50],
264264
np.c_[50, 100, -50],
@@ -370,7 +370,10 @@ def reshape(values):
370370

371371
inv_prob = inverse_problem.BaseInvProblem(dmis, reg, opt)
372372
directive_list = [
373-
directives.UpdateSensitivityWeights(threshold=5),
373+
directives.UpdateSensitivityWeights(
374+
method="percent_amplitude",
375+
threshold=5
376+
),
374377
directives.SaveIterationsGeoH5(octree, transforms=[plotting_map], sorting=mesh._ubc_order),
375378
directives.SaveIterationsGeoH5(
376379
tem_survey,

0 commit comments

Comments
 (0)