Closed ad1995-geek closed 1 year ago
We will not be able to help you unless you attach your data file and a script that generates the error.
Please, use the template filling in the informations about the software version, platform etc.
outnew.txt this is my data file. please check it.
import matplotlib.pyplot as plt
from pygimli.physics import traveltime as tt
data = tt.load("outnew.txt")
print(data)
_, ax = plt.subplots()
tt.drawFirstPicks(ax, data)
Thank you for reply. But the inversion part which gives the velocity model, is not running. Could you please run the inversion code cell?
mgr = tt.TravelTimeManager(data)
mgr.invert()
mgr.showResult()
Of course, a tomography with just one shot does not make much sense.
thank you for the reply. The inversion part running well. 1) But why it takes lambda value 20 every time? 2)I am not getting matrix plot of apparent velocity. I have attached the image. please check it. why it is showing a black line?
The apparent velocity plot behind showData
is a crossplot over the shots (y axis) and receivers (x axis). As you only have one shot, you won't see much anyways. Additionally, in your file all data are marked invalid.
The lambda value of 20 is the default (often meaningful), but you can pass another value mgr.invert(lam=100)
Thank you for the explanation. Is it possible to have the computed travel time due to the model? If yes, then it would useful to observe/understand the difference between the observed and computed travel time for the data. Kindly let me know. Thanks for your kind support
In your simple case of just one receiver, you can just use
_, ax = plt.subplots()
tt.drawFirstPicks(ax, data)
sx = pg.x(data)
gx = sx[data["g"]]
ax.plot(gx, mgr.inv.response, "r")
In the more general case, we should expand the function tt.drawFirstPicks
so that it takes response=
or a switch that the additional tt
argument is plotted as response along with data["t"]
.
That's the output
mgr = tt.TravelTimeManager(data) mgr.invert() mgr.showResult()
In this velocity model, why the lower part of the shot point have much error compared to other portion?. How can we minimize it? Do we have change some parameters to improve the velocity model? Thank you.
I don't understand your question. What do you mean with "lower part of the shot point"? And I don't get what you mean with error.
From just one shot, you cannot make a 2D tomography and the result is highly ambiguous. Particularly, there is no resolution below the shot.
ax, cb = mgr.showResult(coverage=(mgr.coverage()>0))
mgr.drawRayPaths(ax)
Thank you for the explanation. It is true that a single shot point will not give very good 2D tomography. My question was that, why we are getting pretty high ambiguous results in the left side of deeper part of the 2D tomography where velocity is exceptionally high around 22000 m/s ?
A single shot will not give you ANY meaningful tomography.
In the lower left part there is no resolution at all. Due to the smoothness constraints this region will be filled, and as the velocity increases with depth this is also done there.
I have one shot and 262 geophone and I have make .sgt file for same. But when run the inversion part, my laptop got hanged. Why it's happening? I tried to increase cellsize but no luck. Please help me.