FDTD_Solver.get_farfield_gain

rfnetwork.solver.FDTD_Solver.get_farfield_gain

FDTD_Solver.get_farfield_gain(theta, phi, polarization=None)

Compile farfield realized gain from the farfield monitor attached to the solver.

Return type:

ldarray

Parameters

thetanp.ndarray | float

spatial theta values in degrees

phinp.ndarray | float

spatial phi values in degrees

polarization{“thetapol”, “phipol”, “rhcp”, “lhcp”}, optional

List of multiple polarizations, or a single polarization. Default is [“thetapol”, “phipol”]

Returns

ldarray

labeled numpy array with dimensions (polarization, frequency, theta, phi)