Programming a Double Slit Function

Abstract

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.

VirtualLab Fusion Configuration

  • VirtualLab Fusion VirtualLab Fusion

Are you interested in further reading?

Tutorial

Programming an Axicon Transmission Function

In this programming example we illustrate how to use the Programmable Function in VirtualLab to create a custom idealised component that performs like an axicon.