|
ENLIGHTEN
Cross-platform desktop GUI for Wasatch Photonics spectrometers
|
Classes | |
| class | Worek |
Functions | |
| get_intensity_from_wavelength (wavelength, wavelengths, spectrum) | |
| getY (x, domain, codomain) | |
| given two arrays (domain, codomain) which describe a collection of points domain: x0 x1 x2 x3 x4 ... xn codomain: y0 y1 y2 y3 y4 ... yn | |
Variables | |
| str | ChE_Blank_slope_label = "ChE Blank Slope" |
| str | ChE_label = "ChE Activity" |
| str | ChE_Sample_slope_label = "ChE Sample Slope" |
| str | Hb_label = "Hb Content" |
| log = logging.getLogger(__name__) | |
| Worek.get_intensity_from_wavelength | ( | wavelength, | |
| wavelengths, | |||
| spectrum ) |
| Worek.getY | ( | x, | |
| domain, | |||
| codomain ) |
given two arrays (domain, codomain) which describe a collection of points domain: x0 x1 x2 x3 x4 ... xn codomain: y0 y1 y2 y3 y4 ... yn
return the element from codomain such that the corresponding element from domain = x ex: getY(4, [0,2,4,6,8], [1,3,5,7,9]) --> 5
if x is not in the domain, return the closest boundary element
| str Worek.ChE_Blank_slope_label = "ChE Blank Slope" |
| str Worek.ChE_label = "ChE Activity" |
| str Worek.ChE_Sample_slope_label = "ChE Sample Slope" |
| str Worek.Hb_label = "Hb Content" |
| Worek.log = logging.getLogger(__name__) |