    

 ## On this page

  

 

 # Example 21: White LED Phosphor 

 Last update: 16.07.2025 

Ex 21: Starting from a blank file, the non-sequential sample file …\\Samples\\Non-sequential\\Phosphors and Fluorescence\\White LED Phosphor.zos is created from scratch. All necessary objects including sources, STEP files, lenses and detectors, are inserted. Both a scatter profile and photoluminescence are applied to the lens while all appropriate files are set for the volume physics model. A (lengthy) ray trace is run and the percent completion is displayed. Two detector viewers are opened to show the irradiance and the radiant intensity.

```
Input:      None
<p>Output:     API\e21_White_LED_Phosphor.zos
</p>
```

[C#](page_ex21_cs.xhtml)

[C++](page_ex21_cpp.xhtml)

[Matlab](page_ex21_m.xhtml)

[Python](page_ex21_py.xhtml)