你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-06 20:46:52 +08:00
Corrected print statement for time to centre of pulse.
这个提交包含在:
@@ -83,7 +83,13 @@ def mpl_plot(w, timewindow, dt, iterations, fft=False):
|
||||
print('Type: {}'.format(w.type))
|
||||
print('Amplitude: {:g}'.format(w.amp))
|
||||
print('Centre frequency: {:g} Hz'.format(w.freq))
|
||||
print('Time to centre of pulse: {:g} s'.format(1 / w.freq))
|
||||
|
||||
if w.type == 'gaussian' or w.type == 'gaussiandot' or w.type == 'gaussiandotdot':
|
||||
delay = 1 / w.freq
|
||||
print('Time to centre of pulse: {:g} s'.format(delay))
|
||||
elif w.type == 'gaussiandotnorm' or w.type == 'gaussiandotdotnorm' or w.type == 'ricker':
|
||||
delay = np.sqrt(2) / w.freq
|
||||
print('Time to centre of pulse: {:g} s'.format(delay))
|
||||
|
||||
# Calculate pulse width for gaussian
|
||||
if w.type == 'gaussian':
|
||||
|
在新工单中引用
屏蔽一个用户