qrcode God said, "Let there be light," and there was light... It was good.
Mission: Deliver dynamic whites light to provide the God-given benefits of sunlight for dementia sufferers

Software to Generate Dynamic Whites Lighting

Licence Information

whitespd.c; builds, calculates optical parameters, and optimizes SPDs 
   for LED strip lighting to produce energy efficient white lighting.
 
(c)2023 Jonathon David White (jonathondavid@gmail.com)

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see https://www.gnu.org/licenses/gpl-3.0.en.html 

If you choose to make use of this program or subroutines in your work, 
we would appreciate it if you would cite our paper 
     "Building Circadian Effective Spectra: A C Language Toolkit"
	               Leukos 2024
in which we discuss the logic and the usage of this program in 
   building dynamic white lighting systems.

C-program source files and sample LED strip data files

  1. Download MinGW port of gcc compiler for Windows (if not already installed)
  2. Download gnuplot for Windows (if not already installed))
  3. Download whitespd() C-code, sample SPDs, supporting routines, Demo batch file
  4. Unzip the files into any directory maintaining the directory structure
  5. Run '0setup.bat' (set up directory structure and get a command window)
  6. Run '1setPath.bat' (set path for gnuplot() and gcc())
  7. Run '2demo.bat' (combines spectra to create this paper's tables and graphs)
  8. View 'readme.pdf' for information on compiling and running program with your optical system