Skip to content

FIX: ISAR 2D range extents #6162

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 20 commits into from
May 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/changelog.d/6162.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ISAR 2D range extents
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@

from ansys.aedt.core.aedt_logger import pyaedt_logger as logger
from ansys.aedt.core.generic.constants import AEDT_UNITS
from ansys.aedt.core.generic.constants import SpeedOfLight
from ansys.aedt.core.generic.constants import unit_converter
from ansys.aedt.core.generic.file_utils import open_file
from ansys.aedt.core.generic.general_methods import conversion_function
Expand Down Expand Up @@ -548,8 +549,7 @@ def combine_farfield(self, phi_scan=0.0, theta_scan=0.0):
ph, th = np.meshgrid(data["Phi"], data["Theta"])
ph = np.deg2rad(ph)
th = np.deg2rad(th)
c = 299792458
k = 2 * np.pi * self.frequency / c
k = 2 * np.pi * self.frequency / SpeedOfLight
kx_grid = k * np.sin(th) * np.cos(ph)
ky_grid = k * np.sin(th) * np.sin(ph)
kz_grid = k * np.cos(th)
Expand Down Expand Up @@ -741,8 +741,7 @@ def __phase_shift_steering(self, a, b, theta=0.0, phi=0.0):
float
Phase shift in degrees.
"""
c = 299792458
k = (2 * math.pi * self.frequency) / c
k = (2 * math.pi * self.frequency) / SpeedOfLight
a = int(a)
b = int(b)
theta = np.deg2rad(theta)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def velocity_resolution(self):
"""Velocity resolution (m/s)."""
fc = self.frequency_center
tpt = self.time_duration
vr = 299792458.0 / (2 * fc * tpt)
vr = SpeedOfLight / (2 * fc * tpt)
return vr

@property
Expand Down
Loading