你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-08 07:24:19 +08:00
fixed "gaussiandotdot", "gaussiandotdotnorm" and "ricker" formulae to produce the correct centre frequency wavelet as requested by the user.
这个提交包含在:
@@ -43,7 +43,11 @@ class Waveform:
|
|||||||
Returns:
|
Returns:
|
||||||
waveform (float): Calculated value for waveform.
|
waveform (float): Calculated value for waveform.
|
||||||
"""
|
"""
|
||||||
|
if self.type == 'gaussiandotdot' or self.type == 'gaussiandotdotnorm' or self.type == "ricker":
|
||||||
|
chi = np.sqrt(2) / self.freq
|
||||||
|
zeta = 2 * np.pi * np.pi * self.freq * self.freq /2
|
||||||
|
delay = time - chi
|
||||||
|
else:
|
||||||
chi = 1 / self.freq
|
chi = 1 / self.freq
|
||||||
zeta = 2 * np.pi * np.pi * self.freq * self.freq
|
zeta = 2 * np.pi * np.pi * self.freq * self.freq
|
||||||
delay = time - chi
|
delay = time - chi
|
||||||
|
在新工单中引用
屏蔽一个用户