Version:

Full-Waveform Inversion

Part 5 - Extensions

Copy
%matplotlib inline
# This notebook will use this variable to determine which
# remote site to run on.
import os
import numpy as np
import salvus.namespace as sn

SALVUS_FLOW_SITE_NAME = os.environ.get("SITE_NAME", "local")
p = sn.Project(path="project")
In a typical USCT setup, there is always enough space between the ultrasound transducers and the phantom. What if we include that information as prior knowledge into our problem formulation?
An easy way of doing this, is to define a region of interest and restrict the reconstruction to this area.
To keep it simple, we just define a sphere with a radius of 6.5 cm as the target region.
mesh = p.simulations.get_mesh(simulation_configuration="initial_model")
# define the region of interest
roi = np.zeros_like(mesh.connectivity)
mask = np.linalg.norm(mesh.points[mesh.connectivity], axis=2) < 0.065
roi[mask] = 1.0
mesh.attach_field("region_of_interest", roi)
Let's see if this helps with the iterations. To be able to compare the results, we just create a new inverse problem within the same project, initialize the region of interest, and start iterating.
p += sn.InverseProblemConfiguration(
    name="my_second_inversion",
    prior_model="initial_model",
    events=p.events.list(),
    mapping=sn.Mapping(
        scaling="absolute",
        inversion_parameters=["VP", "RHO"],
        region_of_interest=mesh,
    ),
    preconditioner=sn.ConstantSmoothing({"VP": 0.01, "RHO": 0.01}),
    method=sn.TrustRegion(initial_trust_region_linf=10.0),
    misfit_configuration="L2",
    wavefield_compression=sn.WavefieldCompression(
        forward_wavefield_sampling_interval=10
    ),
    job_submission=sn.SiteConfig(
        site_name=SALVUS_FLOW_SITE_NAME, ranks_per_job=4
    ),
)
p.inversions.iterate(
    inverse_problem_configuration="my_second_inversion",
    timeout_in_seconds=360,
    ping_interval_in_seconds=10,
)
[2024-07-05 10:13:47,328] INFO: Adding new iteration #0.
[2024-07-05 10:13:47,341] INFO: Resuming iteration #0.

[2024-07-05 10:13:47,342] INFO: 1 new tasks have been issued.
[2024-07-05 10:13:47,342] INFO: Processing task `misfit_and_gradient`
[2024-07-05 10:13:47,716] INFO: 
Iteration 0: Number of events: 5	 chi = 0.017690076157774178	 ||g|| = 0.01626160085513182
pred = ---	ared = ---	norm_update = ---	tr_radius = ---
[2024-07-05 10:13:47,717] INFO: 1 new tasks have been issued.
[2024-07-05 10:13:47,717] INFO: Processing task `preconditioner`

[2024-07-05 10:13:47,904] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:13:57,911] INFO: Processing task `preconditioner`
[2024-07-05 10:13:58,039] INFO: 1 new tasks have been issued.
[2024-07-05 10:13:58,039] INFO: Processing task `misfit`
[2024-07-05 10:13:58,092] INFO: Submitting job array with 5 jobs ...

[2024-07-05 10:13:58,202] INFO: Launched simulations for 5 events. Please check again to see if they are finished.
[2024-07-05 10:13:58,203] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:14:08,220] INFO: Processing task `misfit`
[2024-07-05 10:14:09,093] INFO: 
old misfit control group: 0.017690076157774175
new misfit control group: 0.00664570902045414
predicted reduction control group: -0.00573506534931896
actual reduction control group: -0.011044367137320035
5 out of 5 event(s) improved the misfit.
[2024-07-05 10:14:09,093] INFO: 
Model update accepted.
[2024-07-05 10:14:09,094] INFO: 1 new tasks have been issued.
[2024-07-05 10:14:09,094] INFO: Processing task `finalize_iteration`
[2024-07-05 10:14:09,128] INFO: Succesfully completed iteration #0.
[2024-07-05 10:14:09,132] INFO: Adding new iteration #1.
Let's see if the region of interest was considered when the model was updated.
p.viz.nb.inversion(inverse_problem_configuration="my_second_inversion")
Indeed, outside of the pre-defined sphere, the model is still constant and has the same values as the initial model.
Let's do a few more iterations and see what the reconstruction will be.
for i in range(2):
    p.inversions.iterate(
        inverse_problem_configuration="my_second_inversion",
        timeout_in_seconds=360,
        ping_interval_in_seconds=10,
    )
    p.inversions.delete_disposable_files(
        inverse_problem_configuration="my_second_inversion",
        data_to_remove=["auxiliary", "gradients", "waveforms"],
    )
p.viz.nb.inversion(inverse_problem_configuration="my_second_inversion")
[2024-07-05 10:14:10,311] INFO: Resuming iteration #1.

[2024-07-05 10:14:10,312] INFO: 1 new tasks have been issued.
[2024-07-05 10:14:10,312] INFO: Processing task `gradient`
[2024-07-05 10:14:10,592] INFO: Submitting job array with 5 jobs ...
Uploading 1 files...
Uploading 1 files...
Uploading 1 files...
Uploading 1 files...
Uploading 1 files...

[2024-07-05 10:14:10,652] INFO: Launched adjoint simulations for 5 events. Please check again to see if they are finished.
[2024-07-05 10:14:10,654] INFO: Some tasks of iteration #1 are still running. Please check again later.
[2024-07-05 10:14:20,656] INFO: Processing task `gradient`
[2024-07-05 10:14:20,844] INFO: 5 events have already been submitted. They will not be submitted again.
[2024-07-05 10:14:21,501] INFO: 
Iteration 1: Number of events: 5	 chi = 0.00664570902045414	 ||g|| = 0.008122022119893406
pred = -0.00573506534931896	ared = -0.011044367137320035	norm_update = 0.7265219524034239	tr_radius = 0.7265221051484864
[2024-07-05 10:14:21,511] INFO: 1 new tasks have been issued.
[2024-07-05 10:14:21,512] INFO: Processing task `preconditioner`

[2024-07-05 10:14:21,601] INFO: Some tasks of iteration #1 are still running. Please check again later.
[2024-07-05 10:14:31,633] INFO: Processing task `preconditioner`
[2024-07-05 10:14:31,760] INFO: 1 new tasks have been issued.
[2024-07-05 10:14:31,760] INFO: Processing task `misfit`
[2024-07-05 10:14:31,813] INFO: Submitting job array with 5 jobs ...

[2024-07-05 10:14:31,927] INFO: Launched simulations for 5 events. Please check again to see if they are finished.
[2024-07-05 10:14:31,928] INFO: Some tasks of iteration #1 are still running. Please check again later.
[2024-07-05 10:14:41,962] INFO: Processing task `misfit`
[2024-07-05 10:14:42,686] INFO: 
old misfit control group: 0.00664570902045414
new misfit control group: 0.0028967886883502314
predicted reduction control group: -0.0027946883746031
actual reduction control group: -0.0037489203321039084
5 out of 5 event(s) improved the misfit.
[2024-07-05 10:14:42,686] INFO: 
Model update accepted.
[2024-07-05 10:14:42,687] INFO: 1 new tasks have been issued.
[2024-07-05 10:14:42,687] INFO: Processing task `finalize_iteration`
[2024-07-05 10:14:42,742] INFO: Succesfully completed iteration #1.
[2024-07-05 10:14:42,744] INFO: Adding new iteration #2.
[2024-07-05 10:14:42,750] INFO: ... searching for obsolete files in project/INVERSIONS/my_second_inversion/00000
[2024-07-05 10:14:42,753] INFO: ... searching for obsolete files in project/INVERSIONS/my_second_inversion/00001
[2024-07-05 10:14:42,901] INFO: Freed up 6.0 MB of space.
[2024-07-05 10:14:42,905] INFO: Resuming iteration #2.

[2024-07-05 10:14:42,905] INFO: 1 new tasks have been issued.
[2024-07-05 10:14:42,906] INFO: Processing task `gradient`
[2024-07-05 10:14:43,173] INFO: Submitting job array with 5 jobs ...
Uploading 1 files...
Uploading 1 files...
Uploading 1 files...
Uploading 1 files...
Uploading 1 files...

[2024-07-05 10:14:43,240] INFO: Launched adjoint simulations for 5 events. Please check again to see if they are finished.
[2024-07-05 10:14:43,241] INFO: Some tasks of iteration #2 are still running. Please check again later.
[2024-07-05 10:14:53,244] INFO: Processing task `gradient`
[2024-07-05 10:14:53,435] INFO: 5 events have already been submitted. They will not be submitted again.
[2024-07-05 10:14:53,908] INFO: 
Iteration 2: Number of events: 5	 chi = 0.002896788688350232	 ||g|| = 0.003362105420798052
pred = -0.0027946883746031	ared = -0.0037489203321039084	norm_update = 0.7176520315062779	tr_radius = 1.4530442102969727
[2024-07-05 10:14:53,926] INFO: 1 new tasks have been issued.
[2024-07-05 10:14:53,926] INFO: Processing task `preconditioner`

[2024-07-05 10:14:54,027] INFO: Some tasks of iteration #2 are still running. Please check again later.
[2024-07-05 10:15:04,057] INFO: Processing task `preconditioner`
[2024-07-05 10:15:04,187] INFO: 1 new tasks have been issued.
[2024-07-05 10:15:04,187] INFO: Processing task `misfit`
[2024-07-05 10:15:04,239] INFO: Submitting job array with 5 jobs ...

[2024-07-05 10:15:04,359] INFO: Launched simulations for 5 events. Please check again to see if they are finished.
[2024-07-05 10:15:04,360] INFO: Some tasks of iteration #2 are still running. Please check again later.
[2024-07-05 10:15:14,400] INFO: Processing task `misfit`
[2024-07-05 10:15:15,308] INFO: 
old misfit control group: 0.0028967886883502314
new misfit control group: 0.0024078604607760306
predicted reduction control group: -0.0002203679362801023
actual reduction control group: -0.0004889282275742008
5 out of 5 event(s) improved the misfit.
[2024-07-05 10:15:15,309] INFO: 
Model update accepted.
[2024-07-05 10:15:15,309] INFO: 1 new tasks have been issued.
[2024-07-05 10:15:15,309] INFO: Processing task `finalize_iteration`
[2024-07-05 10:15:15,384] INFO: Succesfully completed iteration #2.
[2024-07-05 10:15:15,387] INFO: Adding new iteration #3.
[2024-07-05 10:15:15,394] INFO: ... searching for obsolete files in project/INVERSIONS/my_second_inversion/00000
[2024-07-05 10:15:15,396] INFO: ... searching for obsolete files in project/INVERSIONS/my_second_inversion/00001
[2024-07-05 10:15:15,486] INFO: ... searching for obsolete files in project/INVERSIONS/my_second_inversion/00002
[2024-07-05 10:15:15,635] INFO: Freed up 6.0 MB of space.
This looks better, so the prior knowledge was indeed helpful.
Alternatively, we could specify point-wise lower and upper bounds on the model parameters In the example below, we allow deviations of +/- 20% in both VP and RHO, except for the previously selected region of interest, where we restrict VP updates to +/- 1 m/s.
Note that the mapping function does not contain a region of interest in this case.
p += sn.InverseProblemConfiguration(
    name="my_third_inversion",
    prior_model="initial_model",
    events=p.events.list(),
    mapping=sn.Mapping(
        scaling="absolute",
        inversion_parameters=["VP", "RHO"],
    ),
    preconditioner=sn.ConstantSmoothing({"VP": 0.01, "RHO": 0.01}),
    method=sn.TrustRegion(initial_trust_region_linf=10.0),
    misfit_configuration="L2",
    wavefield_compression=sn.WavefieldCompression(
        forward_wavefield_sampling_interval=10
    ),
    job_submission=sn.SiteConfig(
        site_name=SALVUS_FLOW_SITE_NAME, ranks_per_job=4
    ),
)
mesh = p.simulations.get_mesh("initial_model")
lb = mesh.copy()
ones = np.ones_like(lb.elemental_fields["VP"])
lb.elemental_fields["VP"] *= 0.8
lb.elemental_fields["RHO"] *= 0.8
lb.elemental_fields["VP"][roi < 0.5] = 1501.0

ub = mesh.copy()
ub.elemental_fields["VP"] *= 1.2
ub.elemental_fields["RHO"] *= 1.2
ub.elemental_fields["VP"][roi < 0.5] = 1502.0

p.inversions.set_constraints(
    inverse_problem_configuration="my_third_inversion",
    constraints={
        "lower_bounds": lb,
        "upper_bounds": ub,
    },
)
p.inversions.iterate("my_third_inversion", timeout_in_seconds=360)
p.viz.nb.inversion(inverse_problem_configuration="my_third_inversion")
[2024-07-05 10:15:16,620] INFO: Adding new iteration #0.
[2024-07-05 10:15:16,628] INFO: Resuming iteration #0.

[2024-07-05 10:15:16,628] INFO: 1 new tasks have been issued.
[2024-07-05 10:15:16,628] INFO: Processing task `misfit_and_gradient`
[2024-07-05 10:15:17,012] INFO: 
Iteration 0: Number of events: 5	 chi = 0.017690076157774178	 ||g|| = 0.02256501205974222
pred = ---	ared = ---	norm_update = ---	tr_radius = ---
[2024-07-05 10:15:17,013] INFO: 1 new tasks have been issued.
[2024-07-05 10:15:17,013] INFO: Processing task `preconditioner`

[2024-07-05 10:15:17,081] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:17,087] INFO: Processing task `preconditioner`
[2024-07-05 10:15:17,116] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:17,124] INFO: Processing task `preconditioner`
[2024-07-05 10:15:17,158] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:17,165] INFO: Processing task `preconditioner`
[2024-07-05 10:15:17,191] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:17,198] INFO: Processing task `preconditioner`
[2024-07-05 10:15:17,229] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:17,236] INFO: Processing task `preconditioner`
[2024-07-05 10:15:17,264] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:17,271] INFO: Processing task `preconditioner`
[2024-07-05 10:15:17,299] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:17,307] INFO: Processing task `preconditioner`
[2024-07-05 10:15:17,337] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:17,343] INFO: Processing task `preconditioner`
[2024-07-05 10:15:17,372] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:17,379] INFO: Processing task `preconditioner`
[2024-07-05 10:15:17,408] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:17,416] INFO: Processing task `preconditioner`
[2024-07-05 10:15:17,444] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:17,451] INFO: Processing task `preconditioner`
[2024-07-05 10:15:17,484] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:17,491] INFO: Processing task `preconditioner`
[2024-07-05 10:15:17,518] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:17,528] INFO: Processing task `preconditioner`
[2024-07-05 10:15:17,557] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:17,566] INFO: Processing task `preconditioner`
[2024-07-05 10:15:17,595] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:17,602] INFO: Processing task `preconditioner`
[2024-07-05 10:15:17,634] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:17,641] INFO: Processing task `preconditioner`
[2024-07-05 10:15:17,666] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:17,673] INFO: Processing task `preconditioner`
[2024-07-05 10:15:17,699] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:17,705] INFO: Processing task `preconditioner`
[2024-07-05 10:15:17,731] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:17,738] INFO: Processing task `preconditioner`
[2024-07-05 10:15:17,770] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:17,776] INFO: Processing task `preconditioner`
[2024-07-05 10:15:17,808] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:17,816] INFO: Processing task `preconditioner`
[2024-07-05 10:15:17,850] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:17,857] INFO: Processing task `preconditioner`
[2024-07-05 10:15:17,887] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:17,894] INFO: Processing task `preconditioner`
[2024-07-05 10:15:17,923] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:17,930] INFO: Processing task `preconditioner`
[2024-07-05 10:15:17,961] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:17,967] INFO: Processing task `preconditioner`
[2024-07-05 10:15:17,997] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:18,003] INFO: Processing task `preconditioner`
[2024-07-05 10:15:18,030] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:18,039] INFO: Processing task `preconditioner`
[2024-07-05 10:15:18,070] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:18,077] INFO: Processing task `preconditioner`
[2024-07-05 10:15:18,106] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:18,117] INFO: Processing task `preconditioner`
[2024-07-05 10:15:18,152] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:18,161] INFO: Processing task `preconditioner`
[2024-07-05 10:15:18,193] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:18,203] INFO: Processing task `preconditioner`
[2024-07-05 10:15:18,233] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:18,242] INFO: Processing task `preconditioner`
[2024-07-05 10:15:18,272] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:18,279] INFO: Processing task `preconditioner`
[2024-07-05 10:15:18,308] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:18,315] INFO: Processing task `preconditioner`
[2024-07-05 10:15:18,341] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:18,349] INFO: Processing task `preconditioner`
[2024-07-05 10:15:18,381] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:18,388] INFO: Processing task `preconditioner`
[2024-07-05 10:15:18,417] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:18,425] INFO: Processing task `preconditioner`
[2024-07-05 10:15:18,461] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:18,469] INFO: Processing task `preconditioner`
[2024-07-05 10:15:18,498] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:18,506] INFO: Processing task `preconditioner`
[2024-07-05 10:15:18,539] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:18,547] INFO: Processing task `preconditioner`
[2024-07-05 10:15:18,573] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:18,580] INFO: Processing task `preconditioner`
[2024-07-05 10:15:18,607] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:18,614] INFO: Processing task `preconditioner`
[2024-07-05 10:15:18,640] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:18,648] INFO: Processing task `preconditioner`
[2024-07-05 10:15:18,679] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:18,685] INFO: Processing task `preconditioner`
[2024-07-05 10:15:18,810] INFO: 1 new tasks have been issued.
[2024-07-05 10:15:18,811] INFO: Processing task `misfit`
[2024-07-05 10:15:18,866] INFO: Submitting job array with 5 jobs ...

[2024-07-05 10:15:18,981] INFO: Launched simulations for 5 events. Please check again to see if they are finished.
[2024-07-05 10:15:18,982] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:18,999] INFO: Processing task `misfit`
[2024-07-05 10:15:19,054] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:19,073] INFO: Processing task `misfit`
[2024-07-05 10:15:19,314] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:19,335] INFO: Processing task `misfit`
[2024-07-05 10:15:19,385] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:19,406] INFO: Processing task `misfit`
[2024-07-05 10:15:19,454] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:19,473] INFO: Processing task `misfit`
[2024-07-05 10:15:19,521] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:19,541] INFO: Processing task `misfit`
[2024-07-05 10:15:19,589] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:19,611] INFO: Processing task `misfit`
[2024-07-05 10:15:19,661] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:19,680] INFO: Processing task `misfit`
[2024-07-05 10:15:19,731] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:19,750] INFO: Processing task `misfit`
[2024-07-05 10:15:19,809] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:19,829] INFO: Processing task `misfit`
[2024-07-05 10:15:19,879] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:19,900] INFO: Processing task `misfit`
[2024-07-05 10:15:19,950] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:19,969] INFO: Processing task `misfit`
[2024-07-05 10:15:20,020] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:20,040] INFO: Processing task `misfit`
[2024-07-05 10:15:20,089] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:20,109] INFO: Processing task `misfit`
[2024-07-05 10:15:20,358] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:20,377] INFO: Processing task `misfit`
[2024-07-05 10:15:20,429] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:20,454] INFO: Processing task `misfit`
[2024-07-05 10:15:20,505] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:20,527] INFO: Processing task `misfit`
[2024-07-05 10:15:20,576] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:20,595] INFO: Processing task `misfit`
[2024-07-05 10:15:20,649] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:20,668] INFO: Processing task `misfit`
[2024-07-05 10:15:20,719] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:20,739] INFO: Processing task `misfit`
[2024-07-05 10:15:20,793] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:20,812] INFO: Processing task `misfit`
[2024-07-05 10:15:20,863] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:20,880] INFO: Processing task `misfit`
[2024-07-05 10:15:20,930] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:20,948] INFO: Processing task `misfit`
[2024-07-05 10:15:20,999] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:21,017] INFO: Processing task `misfit`
[2024-07-05 10:15:21,067] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:21,085] INFO: Processing task `misfit`
[2024-07-05 10:15:21,344] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:21,364] INFO: Processing task `misfit`
[2024-07-05 10:15:21,417] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:21,435] INFO: Processing task `misfit`
[2024-07-05 10:15:21,487] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:21,506] INFO: Processing task `misfit`
[2024-07-05 10:15:21,560] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:21,579] INFO: Processing task `misfit`
[2024-07-05 10:15:21,630] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:21,650] INFO: Processing task `misfit`
[2024-07-05 10:15:21,708] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:21,726] INFO: Processing task `misfit`
[2024-07-05 10:15:21,779] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:21,799] INFO: Processing task `misfit`
[2024-07-05 10:15:21,852] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:21,871] INFO: Processing task `misfit`
[2024-07-05 10:15:21,921] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:21,940] INFO: Processing task `misfit`
[2024-07-05 10:15:21,992] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:22,012] INFO: Processing task `misfit`
[2024-07-05 10:15:22,065] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:22,093] INFO: Processing task `misfit`
[2024-07-05 10:15:22,156] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:22,176] INFO: Processing task `misfit`
[2024-07-05 10:15:22,415] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:22,436] INFO: Processing task `misfit`
[2024-07-05 10:15:22,487] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:22,508] INFO: Processing task `misfit`
[2024-07-05 10:15:22,558] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:22,578] INFO: Processing task `misfit`
[2024-07-05 10:15:22,627] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:22,648] INFO: Processing task `misfit`
[2024-07-05 10:15:22,697] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:22,714] INFO: Processing task `misfit`
[2024-07-05 10:15:22,766] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:22,786] INFO: Processing task `misfit`
[2024-07-05 10:15:22,839] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:22,859] INFO: Processing task `misfit`
[2024-07-05 10:15:22,908] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:22,928] INFO: Processing task `misfit`
[2024-07-05 10:15:22,980] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:23,001] INFO: Processing task `misfit`
[2024-07-05 10:15:23,049] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:23,070] INFO: Processing task `misfit`
[2024-07-05 10:15:23,118] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:23,137] INFO: Processing task `misfit`
[2024-07-05 10:15:23,379] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:23,400] INFO: Processing task `misfit`
[2024-07-05 10:15:23,449] INFO: Some tasks of iteration #0 are still running. Please check again later.
[2024-07-05 10:15:23,470] INFO: Processing task `misfit`
[2024-07-05 10:15:24,178] INFO: 
old misfit control group: 0.017690076157774175
new misfit control group: 0.008118346781190224
predicted reduction control group: -0.005352483018395816
actual reduction control group: -0.00957172937658395
5 out of 5 event(s) improved the misfit.
[2024-07-05 10:15:24,178] INFO: 
Model update accepted.
[2024-07-05 10:15:24,179] INFO: 1 new tasks have been issued.
[2024-07-05 10:15:24,179] INFO: Processing task `finalize_iteration`
[2024-07-05 10:15:24,213] INFO: Succesfully completed iteration #0.
[2024-07-05 10:15:24,215] INFO: Adding new iteration #1.
The example above is just meant to demonstrate the use of box constraints. For cases where lower and upper bounds are (almost) equal, we recommend using a region of interest instead.
Bonus question. The setup above is also a prime example of an "inverse crime", except for one small detail. Can you identify what it is?
PAGE CONTENTS