Errors with setRegularization in Traveltime inversion #840
-
Hello! Recently I raised a similar issue. I tried implementing the region treatment from the region example, but adding another structure to the parametric mesh for the inversion causes the inversion to crash. My objective is to fix the sound speed in a specific obstacle in the medium for the inversion, as it is known a priori. This will hopefully also give me a better resolution in the rest of the medium. Here is my code:
And this is the resulting error:
I have tried multiple fixes based on the region example and other discussions in the GitHub, but I always get this error when introducing another structure to the inversion mesh. Thanks for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
I tried it with a reduced number of sensors to save time, but changed a few things. You set a mesh, set region properties, but then you again pass a mesh to the
|
Beta Was this translation helpful? Give feedback.
-
Since you use regions and a fixed region particularly (which is not part of the inversion) you cannot use the original mesh for plotting. Please use |
Beta Was this translation helpful? Give feedback.
-
Did this work? Can we close the issue? |
Beta Was this translation helpful? Give feedback.
I tried it with a reduced number of sensors to save time, but changed a few things. You set a mesh, set region properties, but then you again pass a mesh to the
invert()
call. If you avoid this, it should work: