Programming a Double Slit Function

In Fourier optics, optical components can often be modeled as a transmission function which gives a modulation to the amplitude and phase of the input field. VirtualLab Fusion offers Programmable Function, in which users can define the functional embodiment of a component. In this example, a snippet for defining a double slit function, with customizable slit width, is presented. The slits are infinite in y-direction and are placed on the x-axis, with the distance between the two slits as a user-defined parameter.

Contact & Trial


Phone +49.3641.53129-50

info (at)

VirtualLab Fusion

Get free trial version

Get an offer