From c3900a53f07aa8710d89f7dfd79206b1b28b8b25 Mon Sep 17 00:00:00 2001 From: Yongzhong Li Date: Mon, 1 Apr 2024 10:47:31 -0400 Subject: [PATCH] make the location distance as a function of wavelength, to ensure the accurate caculation of RCS especially at low frequency --- getRCS.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/getRCS.py b/getRCS.py index ddc5b08..e88c8e1 100644 --- a/getRCS.py +++ b/getRCS.py @@ -56,6 +56,15 @@ def Bistatic_RCS(radius, frequency, background_material, sphere_material, distan ''' nang = 100 theta = np.linspace(0,np.pi,nang) + + if distance > 0: + distance_ideal = 2000 * 3e8 / frequency + else: + distance_ideal = -2000 * 3e8 / frequency + + if distance < distance_ideal: + distance = distance_ideal + print("The sensor is replaced farther away according to wavelength to ensure the accurate calculation of RCS.") #distance = 2000 #phi = 0