From 426f4a335f2ea5a39b0db2d9173ea21d7a5288f4 Mon Sep 17 00:00:00 2001 From: LyceanEM Date: Thu, 9 May 2024 13:29:39 +0100 Subject: [PATCH] looks sensible but we can define beta as normal using wavelength, and alpha as zero inline with lossless propagation. --- lyceanem/electromagnetics/empropagation.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lyceanem/electromagnetics/empropagation.py b/lyceanem/electromagnetics/empropagation.py index 6e35c4c..3c83ef6 100644 --- a/lyceanem/electromagnetics/empropagation.py +++ b/lyceanem/electromagnetics/empropagation.py @@ -1155,10 +1155,10 @@ def freqdomainkernal( scatter_index = i # print(cu_ray_num,source_sink_index[cu_ray_num,0],source_sink_index[cu_ray_num,1]) - wave_vector = (2.0 * cmath.pi) / wavelength[0] + # scatter_coefficient=(1/(4*cmath.pi))**(complex(scatter_index)) - alpha = .1 - beta = .1 + alpha = 0.0 + beta = (2.0 * cmath.pi) / wavelength[0] loss = lossy_propagation( point_information[network_index[cu_ray_num, 0] - 1], point_information[network_index[cu_ray_num, 1] - 1],