Skip to content

Commit 43eb975

Browse files
author
nmahesh1412
committed
additional comments
1 parent 25eec10 commit 43eb975

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/pyuvdata/uvbeam/feko_beam.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,10 @@ def read_feko_beam(
250250
phi_real_col = np.where(np.array(column_names) == "Re(Ephi)")[0][0]
251251
phi_imag_col = np.where(np.array(column_names) == "Im(Ephi)")[0][0]
252252

253+
##the E field magnitudes are taken as the sqrt of the power gain so that
254+
##the input power and Zo are taken into account. Taking the magnitude of
255+
##the E-fields from the real and imag parts doesnt account for the input
256+
##power & will need that information from different output file of FEKO
253257
theta_mag = np.sqrt(10 ** (data[i, :, theta_mag_col] / 10)).reshape(
254258
(theta_axis.size, phi_axis.size), order="F"
255259
)

0 commit comments

Comments
 (0)