LED Spectrum is based on my doctoral research work on Monte Carlo analysis of light in compound semiconductor, and it will output a normalized output spectrum for a system comprising upto 3 LEDs and 3 encapsulations with each encapsulation having 3 converters (phosphors) and each encapsulation can be lossy. You can use the input pages of the app, but for experienced users, please use an input file, you can use the following format for the input file:
# lines starting with # are comments
# the first line has to say "LED Spectrum"
LED Spectrum
# the line starting with T tells the program the # of sources (max 3), # of encapsulations (max 3), # of samples (max 75000)
T, 3, 3, 75000
# source come first, format is S, mean wavelength (nm), variation (3 sigma) (nm), amplitude fraction (integer %), the sum of amplitude fractions == 100 %
S, 475, 25, 45
S, 540, 30, 30
S, 680, 35, 25
# encapsulation is next, format is E, number of converters (max 3), loss (integer %) at 300nm, loss (integer %) at 550nm, loss (integer %) at 800nm,
E, 3, 20, 30, 20
# converters come after the encapsulation they are in, format is C, absorption wavelength (nm), absorption probability (integer %), emission wavelength (nm), converter volume fraction (integer %), the sum of converter volume fraction < 100 %
# converters are given gaussian +/- 5% variation in emission wavelength to avoid spikes in the output
C, 550, 50, 720, 35
C, 550, 50, 660, 30
C, 550, 50, 600, 30
# another encapsulation and its converters
E, 3, 10, 20, 30
C, 500, 50, 580, 25
C, 550, 50, 620, 25
C, 490, 50, 560, 40
# another encapsulation and its converters
E, 3, 20, 10, 5
C, 500, 50, 510, 30
C, 500, 50, 525, 30
C, 550, 50, 640, 30