Wasatch.PY
Python application driver for Wasatch Photonics spectrometers
Loading...
Searching...
No Matches
Todo List
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.get_vertical_roi
(self)
return
ROI
Member
wasatch.SpectrometerSettings.SpectrometerSettings.has_marker
(self)
add this to
EEPROM.feature_mask
if we decide to keep the feature
Member
wasatch.SpectrometerSettings.SpectrometerSettings.update_wavecal
(self, coeffs=None)
update for
DetectorRegions
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.
Class
wasatch.WasatchDeviceWrapper.WasatchDeviceWrapper
This document is full of references to continuous_poll(). That method no longer exists, and has been replaced by
WrapperWorker.run()
Generated by
1.11.0