get_angles_out

awg_designer.all.get_angles_out(delay_length, frequencies, grating_period, n_eff_wg, n_eff_slab)

Get the angles for the output grating, so that the output channels are positioned at the specified frequencies.

Parameters:
delay_length: float

Delay length.

frequencies: (list of floats)

List of center frequencies for each channel.

grating_period: float

Period of the AWG grating apertures.

n_eff_wg: (list of floats)

Effective index of the waveguides at each of these channel wavelengths.

n_eff_slab: (list of floats)

Effective index of the slab at each of the channel wavelengths.

Returns:
List of output angles at which the output apertures must be placed to get center frequencies as specified.