Electromagnetic Propagation

lyceanem.electromagnetics.empropagation.EMGPUFreqDomain(source_num, sink_num, full_index, point_information, wavelength)[source]

Wrapper for the GPU EM processer At present, the indexing only supports processing the rays for line of sight and single or double bounces

Parameters:
  • source_num ((int)) – the number of source points

  • sink_num ((int)) – the number of sink points

  • full_index ((2D numpy array of ints)) – index of all successful rays

  • point_information (:type:`lyceanem.base_types.scattering_point`) –

    the point information contains the amplitude exciation for the sources, and the positions and normal vectors for

    all points, together with electromangetic properties, however, the general assumption of this model is that there is only freespace and metal interacting.

  • wavelength ((float)) – the wavelength of interest

Returns:

scattering_network_comp – the resultant scattering network for the provided ray paths

Return type:

(2D numpy array, complex)