How to Work with the Programmable Function & Example

(Cylindrical Lens)

Abstract

Providing maximum versatility for your optical simulations is one of our most fundamental objectives.

In this tutorial we explain how to work with the Programmable Function, which can also be thought of as an idealised component acting in a single plane: the workflow entails defining a position-dependent, complex-valued function on the x, y plane, which is then multiplied onto the incoming field. We use the example of an ideal cylindrical lens to go through the whole process in detail.

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.

Tutorial

Customizable Help for Programmable Elements

VirtualLab provides multiple tools to implement your custom sources, components, detectors etc. For documentation of such customized object the snippet help can be used.