ENLIGHTEN
Cross-platform desktop GUI for Wasatch Photonics spectrometers
Loading...
Searching...
No Matches
common.py File Reference

Classes

class  enlighten.common.Axes
 
class  enlighten.common.AxesHelper
 
class  enlighten.common.FakeOutputHandle
 We [think we] need to build Windows installers with PyInstaller. More...
 
class  enlighten.common.LaserPowerUnits
 
class  enlighten.common.LaserStates
 We don't actually have FW API to read all of these; final implementation should treat enable, delayState, watchdogLockdown, interlockState, and isFiring as separate bits. More...
 
class  enlighten.common.OperationModes
 
class  enlighten.common.Pages
 
class  enlighten.common.Techniques
 ENLIGHTEN's application version number (checked by scripts/deploy and bootstrap.bat) More...
 
class  enlighten.common.TechniquesHelper
 
class  enlighten.common.Views
 It's important to keep this list in sync with the comboBox_view items. More...
 
class  enlighten.common.ViewsHelper
 

Namespaces

namespace  enlighten
 
namespace  enlighten.common
 

Functions

 enlighten.common.get_default_data_dir ()
 Return the path used for all Enlighten data except for spectra.
 
 enlighten.common.is_rpi ()
 
 enlighten.common.msgbox (prompt, title="Alert", buttons="", detail=None, informative_text=None)
 Display an interupting message to the user.
 
 enlighten.common.set_controller_instance (inst)
 
 enlighten.common.use_pyside2 ()
 

Variables

 enlighten.common.ctl = None
 
 enlighten.common.log = logging.getLogger(__name__)
 
str enlighten.common.VERSION = "4.1.37"