ENLIGHTEN
Cross-platform desktop GUI for Wasatch Photonics spectrometers
Loading...
Searching...
No Matches
enlighten.common.AxesHelper Class Reference

Public Member Functions

 get_pretty_name (n)
 
 get_suffix (n)
 

Static Public Attributes

dict pretty_names
 HTML for Qt.
 
dict suffixes
 Unicode (not sure these are used)
 

Member Function Documentation

◆ get_pretty_name()

enlighten.common.AxesHelper.get_pretty_name ( n)

◆ get_suffix()

enlighten.common.AxesHelper.get_suffix ( n)

Member Data Documentation

◆ pretty_names

dict enlighten.common.AxesHelper.pretty_names
static
Initial value:
= {
Axes.PIXELS : "pixel",
Axes.WAVELENGTHS : "wavelength (nm)",
Axes.WAVENUMBERS : "wavenumber (cm⁻¹)", # cm⁻¹
Axes.COUNTS : "intensity (counts)",
Axes.PERCENT : "percent (%)",
Axes.AU : "absorbance (AU)",
}

HTML for Qt.

◆ suffixes

dict enlighten.common.AxesHelper.suffixes
static
Initial value:
= {
Axes.PIXELS : "px",
Axes.WAVELENGTHS : "nm",
Axes.WAVENUMBERS : "cm⁻¹",
Axes.COUNTS : "",
Axes.PERCENT : "%",
Axes.AU : "AU",
}

Unicode (not sure these are used)


The documentation for this class was generated from the following file: