Wasatch.PY
Python application driver for Wasatch Photonics spectrometers
Loading...
Searching...
No Matches
Todo List
Member wasatch.DeviceID.DeviceID.__init__ (self, device=None, label=None, directory=None, device_type=None, overrides=None, spectra_options=None, bleak_ble_device=None)
needs a constructor that can recreate a full object from the string representation (maybe add a str=None or from=None to the constructor)
Member wasatch.EEPROM.EEPROM.generate_write_buffers (self)
update to use self.fields
Member wasatch.EEPROM.EEPROM.read_eeprom (self)
update to use self.fields
Member wasatch.EEPROM.EEPROM.read_spline (self)
turn into EEPROMSpline
Member wasatch.FeatureIdentificationDevice.FeatureIdentificationDevice._get_code (self, int bRequest, int wValue=0, int wIndex=0, int wLength=64, str label="", int msb_len=None, int lsb_len=None)
consider adding retry logic as well
Member wasatch.FeatureIdentificationDevice.FeatureIdentificationDevice.get_discretes_enabled (self)
find out opcode
Member wasatch.FeatureIdentificationDevice.FeatureIdentificationDevice.set_accessory_enable (self, bool flag)
change opcode (conflicts with GET_DETECTOR_START_LINE)
Member wasatch.FeatureIdentificationDevice.FeatureIdentificationDevice.set_detector_gain (self, float gain)
we should probably track runtime hardware gain in SpectrometerState, not EEPROM
Member wasatch.FeatureIdentificationDevice.FeatureIdentificationDevice.set_laser_power_perc (self, float value_in, bool set_in_perc=True)
support floating-point value, as we have a 12-bit ADC and can provide a bit more precision than 100 discrete steps (goal to support 0.1 - .125% resolution)
Member wasatch.FeatureIdentificationDevice.FeatureIdentificationDevice.set_laser_power_perc_immediate (self, float value)
talk to Jason about changing modulation PERIOD to longer value (200us? 400? 1000?), OR whether pulse WIDTH can be in smaller unit (500ns? 100ns?)
Member wasatch.FeatureIdentificationDevice.FeatureIdentificationDevice.set_tec_enable (self, bool flag)
rename set_detector_tec_enable
Member wasatch.SpectrometerSettings.SpectrometerSettings.has_marker (self)
add this to EEPROM.feature_mask if we decide to keep the feature
Member wasatch.WasatchDevice.WasatchDevice.connect_feature_identification (self)
merge with the hardcoded list in DeviceFinderUSB
Member wasatch.WasatchDevice.WasatchDevice.perform_optional_throwaways (self)
This shouldn't be required at all if we're in free-running mode, or if it's been less than a second since the last acquisition.