Programming a Spectral Band Filter

Abstract


This example shows how to define a customizable spectral band filter by using a programmable function in VirtualLab Fusion. The filter function is demonstrated on a homogenous input spectrum. The user can define the spectral filter profile with a 2D double array containing the wavelength-dependent transmittance values. One can modify the spectral filter in the source code editor or import the filter from ASCII files.

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.