Team:Cambridge/luminanceSourceCode

From 2010.igem.org

(Difference between revisions)
 
Line 2: Line 2:
{{:Team:Cambridge/Templates/headerbar|colour=#96d446|title=Source Code for Luminance calculator}}
{{:Team:Cambridge/Templates/headerbar|colour=#96d446|title=Source Code for Luminance calculator}}
-
To use this program  
+
This program calculates the conversion factor between your total radiant output intensity and your luminance output intensity.
 +
 
 +
To use this program:
*create a new folder
*create a new folder
Line 9: Line 11:
*save the data under photopic into a file called photopic.dat
*save the data under photopic into a file called photopic.dat
*create your own spectra file by inputting the (x<sub>i</sub>,f(x<sub>i</sub>)) coordinates of the spectral distribution file, no spaces just carriage returns i.e. in the format:
*create your own spectra file by inputting the (x<sub>i</sub>,f(x<sub>i</sub>)) coordinates of the spectral distribution file, no spaces just carriage returns i.e. in the format:
 +
x<sub>1</sub>
x<sub>1</sub>
 +
f(x<sub>1</sub>)
f(x<sub>1</sub>)
 +
x<sub>2</sub>
x<sub>2</sub>
 +
f(x<sub>2</sub>)
f(x<sub>2</sub>)
 +
...
...
 +
x<sub>2</sub>
x<sub>2</sub>
 +
f(x<sub>2</sub>)
f(x<sub>2</sub>)
 +
*10 values is usually enough, but more would be better. x should be in nanometre (nm) f(x) should be in SI
*10 values is usually enough, but more would be better. x should be in nanometre (nm) f(x) should be in SI
*save the above as spectra.dat
*save the above as spectra.dat

Latest revision as of 20:05, 26 October 2010