你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-07 04:56:51 +08:00
Updated dispersion check for impulse.
这个提交包含在:
@@ -128,6 +128,9 @@ def dispersion_check(G):
|
|||||||
if waveform.type == 'sine' or waveform.type == 'contsine':
|
if waveform.type == 'sine' or waveform.type == 'contsine':
|
||||||
maxfreqs.append(4 * waveform.freq)
|
maxfreqs.append(4 * waveform.freq)
|
||||||
|
|
||||||
|
elif waveform.type =='impulse':
|
||||||
|
pass
|
||||||
|
|
||||||
else:
|
else:
|
||||||
# Calculate magnitude of frequency spectra of waveform
|
# Calculate magnitude of frequency spectra of waveform
|
||||||
power = 20 * np.log10(np.abs(np.fft.fft(waveformvalues))**2)
|
power = 20 * np.log10(np.abs(np.fft.fft(waveformvalues))**2)
|
||||||
|
在新工单中引用
屏蔽一个用户