ENLIGHTEN
Cross-platform desktop GUI for Wasatch Photonics spectrometers
Loading...
Searching...
No Matches
wasatch.HardwareInfo.HardwareInfo Class Reference

This class captures aspects of the hardware which normally ENLIGHTEN can't / shouldn't see, which isn't otherwise reliably inferred from EEPROM, ModelInfo etc. More...

Public Member Functions

 __init__ (self, vid=None, pid=None)
 
 is_arm (self)
 
 is_ingaas (self)
 
 supports_high_gain_mode (self)
 Maybe we don't need this as it's kind of logically available from these other two sources, but provided for completeness.
 
 supports_triggering (self)
 I can't think of another way to determine whether or not a spectrometer supports this feature other than via its USB PID (ergo architecture), which isn't something ENLIGHTEN should be using in business logic.
 
 to_dict (self)
 

Public Attributes

int pid = pid
 
 vid = vid
 

Detailed Description

This class captures aspects of the hardware which normally ENLIGHTEN can't / shouldn't see, which isn't otherwise reliably inferred from EEPROM, ModelInfo etc.

Constructor & Destructor Documentation

◆ __init__()

wasatch.HardwareInfo.HardwareInfo.__init__ ( self,
vid = None,
pid = None )

Member Function Documentation

◆ is_arm()

wasatch.HardwareInfo.HardwareInfo.is_arm ( self)

◆ is_ingaas()

wasatch.HardwareInfo.HardwareInfo.is_ingaas ( self)

◆ supports_high_gain_mode()

wasatch.HardwareInfo.HardwareInfo.supports_high_gain_mode ( self)

Maybe we don't need this as it's kind of logically available from these other two sources, but provided for completeness.

See also
FPGAOptions.has_cf_select
enlighten.ModelInfo.has_high_gain_mode

◆ supports_triggering()

wasatch.HardwareInfo.HardwareInfo.supports_triggering ( self)

I can't think of another way to determine whether or not a spectrometer supports this feature other than via its USB PID (ergo architecture), which isn't something ENLIGHTEN should be using in business logic.

◆ to_dict()

wasatch.HardwareInfo.HardwareInfo.to_dict ( self)

Member Data Documentation

◆ pid

int wasatch.HardwareInfo.HardwareInfo.pid = pid

◆ vid

wasatch.HardwareInfo.HardwareInfo.vid = vid

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