Closed m-lohmann closed 10 years ago
It's unclear – to me at least – what you want to be done here. What is the issue to be addressed?
@StefanKarpinski - I didn’t get enough sleep due to the DST change last night. I’ll pay more attention next time. There is no issue. Sorry for the inconvenience.
Perhaps if you have this code as part of a forked version of the Color module, you could provide it as a pull request so that the community could benefit!
I just merged @glenn-sweeney's refactor. You may have to pull those changes before making a PR.
I have finished working on a function that generates arbitrary daylight spectra according to CIE standard. You can generate spectra for any D Illuminant with CCTs (correlated color temperature) from 4000 K to 25000 K.
Here is a plot of the CIE daylight spectra generated by
standard_illum.jl
demonstrating the spectra for the CCTs 4000 (D40), 5000 (D50), 6500 (D65), 10000 (D100) and 24999 K (~D250).