Open kangbow opened 7 months ago
So far, the code looks good but you did neither tell us what's going wrong (under Actual behaviour) nor attach the data file to run the code.
There is no problem with the code, I want to layer it according to depth and set markers based on this world model. In the following code, different values are set according to the tags, and I cannot write such code. I would like to ask for your advice
mgr.inv.setRegularization(1, background=True) mgr.inv.setRegularization(1,fix=200)
到目前为止,代码看起来不错,但您既没有告诉我们出了什么问题(在“实际行为”下),也没有附加数据文件来运行代码。
You just need the second line. The fix
argument implies background. It is a background region that is just not prolongated, but filled with a constant value.
However, I still don't get the actual problem. Can you please describe what's going wrong?
Problem description
How to divide the 3D model formed in createworld into three layers according to depth, mark them, and fix the resistivity according to the marks in the setRegulation below for inversion
Your environment
Please provide the output of
print(pygimli.Report())
here. If that does not work, please give provide some additional information on your:Python 3.9.18 | packaged by conda-forge | (main, Dec 23 2023, 16:29:04) [MSC v.1929 64 bit (AMD64)]
Steps to reproduce
Tell us how to reproduce this issue. Ideally, you could paste the code that produces the error:
Expected behavior
divide the 3D model formed in createworld into three layers according to depth, mark them, and fix the resistivity according to the marks in the setRegulation below for inversion
Actual behavior
Tell us what happens instead and/or provide the output of your script.