Spectral filter#

class lasy.optical_elements.SpectralFilter(transmission, omega)[source]#

Class for an optical element that filters the spectrum of a laser pulse.

The amplitude multiplier corresponds to:

\[T(\omega) = \sqrt{F(\omega)}\]

where \(F(\omega)\) is the intensity transmission function of the filter.

Parameters:
transmission1D ndarray of floats

Intensity/Energy transmission of the filter.

omega1D ndarray of floats (in rad/s)

Angular frequencies at which the transmission is defined.

amplitude_multiplier(x, y, omega)[source]#

Return the amplitude multiplier.

Parameters:
x, y, omegandarrays of floats

Define points on which to evaluate the multiplier. These arrays need to all have the same shape.

Returns:
multiplierndarray of complex numbers

Contains the value of the multiplier at the specified points.