Skip to content

Commit

Permalink
updates to feko reader
Browse files Browse the repository at this point in the history
  • Loading branch information
nmahesh1412 committed Jun 12, 2024
1 parent 8aff3b3 commit 616f1f1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pyuvdata/uvbeam/feko_beam.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,12 +287,12 @@ def read_feko_beam(
phi_mag = np.sqrt(10 ** (data_each[i, :, phi_mag_col] / 10)).reshape(
(theta_axis.size, phi_axis.size), order="F"
)
theta_phase = np.angle(
data_each[i, :, theta_real_col] + 1j * data_c1[:, theta_imag_col]
)
phi_phase = np.angle(
data_each[i, :, phi_real_col] + 1j * data_c1[:, phi_imag_col]
)
#theta_phase = np.angle(
# data_each[i, :, theta_real_col] + 1j * data_c1[:, theta_imag_col]
#)
#phi_phase = np.angle(
# data_each[i, :, phi_real_col] + 1j * data_c1[:, phi_imag_col]
#)
theta_phase = np.angle(data_each[i,:, theta_real_col] + 1j * data_each[i,:, theta_imag_col])
phi_phase = np.angle(data_each[i,:, phi_real_col] +1j *data_each[i,:, phi_imag_col])

Expand Down

0 comments on commit 616f1f1

Please sign in to comment.