你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-06 12:36:51 +08:00
Corrected bug with time vector used in plotting scripts.
这个提交包含在:
@@ -47,8 +47,9 @@ def mpl_plot(filename, outputs=Rx.defaultoutputs, fft=False):
|
||||
nrx = f.attrs['nrx']
|
||||
dt = f.attrs['dt']
|
||||
iterations = f.attrs['Iterations']
|
||||
time = np.linspace(0, 1, iterations)
|
||||
time *= (iterations * dt)
|
||||
time = np.linspace(0, (iterations - 1) * dt, num=iterations)
|
||||
print(time[0], time[1], time[-1])
|
||||
print(time.size)
|
||||
|
||||
# Check there are any receivers
|
||||
if nrx == 0:
|
||||
|
在新工单中引用
屏蔽一个用户