放开距离采样间隔参数dr

这个提交包含在:
2023-04-10 21:19:30 +08:00
父节点 69b4a03d47
当前提交 4ff11a4b1a
共修改 5 个文件,包含 22 行新增和 34 行删除
+2 -2
查看文件
@@ -13,7 +13,7 @@ def calZmax(ssp, sed):
Zmax = max(d)
return Zmax
def call_ram(freq, sd, bathm, ssp, sed):
def call_ram(freq, sd, bathm, ssp, sed, dr=0.1):
''' ********************************************************************************* '''
''' ************************** Sound Field Calculation ****************************** '''
''' ********************************************************************************* '''
@@ -24,7 +24,7 @@ def call_ram(freq, sd, bathm, ssp, sed):
zmax = round(max(bathm.d) * 2) # Maximum receiving depth (uint: m)
zmplt = round(max(bathm.d)*1.1) # Maximum depth of plot (uint: m)
dz = 1500 / freq / 15 # Step in depth direction: wavelength / 15
dr = 10 * dz # Step in range direction
# dr = 10 * dz # Step in range direction
Zmax = calZmax(ssp, sed)
rd = Zmax
pos = PosRAM(sd, rd, rmax, zmax, dr, dz, zmplt)