ENLIGHTEN
Cross-platform desktop GUI for Wasatch Photonics spectrometers
Loading...
Searching...
No Matches
Worek Namespace Reference

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__)
 

Function Documentation

◆ get_intensity_from_wavelength()

Worek.get_intensity_from_wavelength ( wavelength,
wavelengths,
spectrum )

◆ getY()

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

Variable Documentation

◆ ChE_Blank_slope_label

str Worek.ChE_Blank_slope_label = "ChE Blank Slope"

◆ ChE_label

str Worek.ChE_label = "ChE Activity"

◆ ChE_Sample_slope_label

str Worek.ChE_Sample_slope_label = "ChE Sample Slope"

◆ Hb_label

str Worek.Hb_label = "Hb Content"

◆ log

Worek.log = logging.getLogger(__name__)