How to Work with the Programmable Spectrum and Example (Black-Body Radiation)

Providing maximum versatility for your optical simulations is one of our most fundamental objectives. In this document we show you how to work with the Programmable Spectrum: that is, how to define a function that assigns a different complex weight to each wavelength/frequency present in the spectral make-up of a field, working under assumptions of stationary behaviour. The black-body emitter is one of the default spectrum models in VirtualLab Fusion, but we use it here as a basic programming example.

Contact & Trial


Phone +49.3641.53129-44

info (at)


VirtualLab Fusion

Get free trial version

Get an offer