Sources
- lyceanem.electromagnetics.sources.electriccurrentsource(prime_vector, theta, phi)[source]
create an idealised electric current source that can be used to test the outputs of the model
- Parameters:
prime_vector (1D numpy array of floats) – orientation of the electric current source in xyz
theta (2D numpy array of floats) – theta angles of desired pattern in degrees
phi (2D numpy array of floats) – phi angles of desired pattern in degrees
- Returns:
etheta (2D numpy array of complex) – Etheta polarisation
ephi (2D numpy array of complex) – Ephi polarisation