Programming a Spectral Band Filter

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.

Are you interested in further reading? Find more relevant use cases here:

Contact & Trial


Phone +49.3641.53129-44

info (at)

VirtualLab Fusion

Get free trial version

Get an offer