From 97ebf4fb6bde8f9e504518ba376922b9269e9d77 Mon Sep 17 00:00:00 2001 From: nmahesh1412 Date: Wed, 12 Jun 2024 21:44:16 +0000 Subject: [PATCH] updates to feko reader --- src/pyuvdata/uvbeam/feko_beam.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/pyuvdata/uvbeam/feko_beam.py b/src/pyuvdata/uvbeam/feko_beam.py index a8d5a2e201..bb34c4fbd4 100644 --- a/src/pyuvdata/uvbeam/feko_beam.py +++ b/src/pyuvdata/uvbeam/feko_beam.py @@ -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])