你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-07 23:14:03 +08:00
Corrected bug with coefficients for gaussiandotnorm and gaussiandotdot waveforms.
这个提交包含在:
@@ -45,11 +45,11 @@ class Waveform:
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
# Coefficients for certain waveforms
|
# Coefficients for certain waveforms
|
||||||
if self.type == 'gaussian' or self.type == 'gaussiandot' or self.type == 'gaussiandotnorm':
|
if self.type == 'gaussian' or self.type == 'gaussiandot' or self.type == 'gaussiandotdot':
|
||||||
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
|
||||||
elif self.type == 'gaussiandotdot' or self.type == 'gaussiandotdotnorm' or self.type == 'ricker':
|
elif self.type == 'gaussiandotnorm' or self.type == 'gaussiandotdotnorm' or self.type == 'ricker':
|
||||||
chi = np.sqrt(2) / self.freq
|
chi = np.sqrt(2) / self.freq
|
||||||
zeta = np.pi * np.pi * self.freq * self.freq
|
zeta = np.pi * np.pi * self.freq * self.freq
|
||||||
delay = time - chi
|
delay = time - chi
|
||||||
|
在新工单中引用
屏蔽一个用户