ENLIGHTEN
Cross-platform desktop GUI for Wasatch Photonics spectrometers
Loading...
Searching...
No Matches
wasatch.InterfaceDevice.InterfaceDevice Class Reference
Inheritance diagram for wasatch.InterfaceDevice.InterfaceDevice:
[legend]

Public Member Functions

 __init__ (self)
 Any class that communicates to a spectrometer should inherit this class.
 
 handle_requests (self, requests)
 

Public Attributes

dict process_f = {}
 
int remaining_throwaways = 0
 

Constructor & Destructor Documentation

◆ __init__()

wasatch.InterfaceDevice.InterfaceDevice.__init__ ( self)

Any class that communicates to a spectrometer should inherit this class.

It provides the common functions that avoid repeated code.

Todo
move scan averaging, TakeOneRequest logic upstream from WasatchDevice, AndorDevice etc to here (simplify children of this class while while increasing code-reuse and consistency across all InterfaceDevice variants)

Member Function Documentation

◆ handle_requests()

wasatch.InterfaceDevice.InterfaceDevice.handle_requests ( self,
requests )

Member Data Documentation

◆ process_f

dict wasatch.InterfaceDevice.InterfaceDevice.process_f = {}

◆ remaining_throwaways

int wasatch.InterfaceDevice.InterfaceDevice.remaining_throwaways = 0

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