Functions#

multiplex_rays_in_wavelength(rays: List[Ray], wavelength_list: List[float]) List[Ray][source]#

Create multiple rays with different wavelengths from a single ray.

Parameters:
  • rays (List[Ray]) – List of Ray objects to be multiplexed.

  • wavelength_list (List[float]) – List of wavelengths to assign to the rays.

Returns:

New list of Ray objects with assigned wavelengths.

Return type:

List[Ray]