你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-08 07:24:19 +08:00
Correction to calculation for maximum frequency of interest.
这个提交包含在:
@@ -259,7 +259,7 @@ def dispersion_analysis(G):
|
|||||||
|
|
||||||
# Set maximum frequency to a threshold drop from maximum power, ignoring DC value
|
# Set maximum frequency to a threshold drop from maximum power, ignoring DC value
|
||||||
try:
|
try:
|
||||||
freqthres = np.where(power[freqmaxpower:] < -G.highestfreqthres)[0][0]
|
freqthres = np.where(power[freqmaxpower:] < -G.highestfreqthres)[0][0] + freqmaxpower
|
||||||
results['maxfreq'].append(freqs[freqthres])
|
results['maxfreq'].append(freqs[freqthres])
|
||||||
except:
|
except:
|
||||||
results['error'] = 'unable to calculate maximum power from waveform, most likely due to undersampling.'
|
results['error'] = 'unable to calculate maximum power from waveform, most likely due to undersampling.'
|
||||||
|
在新工单中引用
屏蔽一个用户