photons.equipment.highfinesse module
Communicate with a Wavemeter or Laser Spectrum Analyser from HighFinesse.
- class photons.equipment.highfinesse.WLMData64(record)[source]
Bases:
ConnectionWrapper around the
WLMData32class.- Parameters:
record (
EquipmentRecord) – The equipment record.
- class photons.equipment.highfinesse.Range(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]
Bases:
IntEnumWavelength ranges that are supported.
- nm245_325 = 0
- nm320_420 = 1
- nm410_610 = 2
- nm600_1190 = 3
- class photons.equipment.highfinesse.RangeModel(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]
Bases:
IntEnumRange models that are supported.
- OLD = 65535
- ORDER = 65534
- WAVELENGTH = 65533
- class photons.equipment.highfinesse.HighFinesse(record, **kwargs)[source]
Bases:
BaseEquipmentCommunicate with a Wavemeter or Laser Spectrum Analyser from HighFinesse.
- Parameters:
record (
EquipmentRecord) – The equipment record.**kwargs – Keyword arguments. Can be specified as attributes of an XML element in a configuration file (with the tag of the element equal to the alias of record).
- class Range(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
IntEnumWavelength ranges that are supported.
- nm245_325 = 0
- nm320_420 = 1
- nm410_610 = 2
- nm600_1190 = 3
- class RangeModel(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
IntEnumRange models that are supported.
- OLD = 65535
- ORDER = 65534
- WAVELENGTH = 65533
- get_pattern_data(index=0, timeout=10)[source]
Returns the interferometer pattern data.
If this class is running as a Service, a list is returned.
- Parameters:
index (
int) –The index of the data type to receive.
0 - Fizeau interferometers or diffraction grating
1 - Additional long interferometer or grating analyzing versions (spectrum analysis)
2 - Fizeau interferometers that support double pulses
3 - Additional interferometer for second pulse
timeout (
float) – The number of seconds to wait for the pattern data to be available.
- Return type:
- get_pulse_mode()[source]
Returns whether pulse mode is enabled (False=CW, True=Pulsed).
- Return type:
- get_wavelength_range()[source]
Returns the currently-selected wavelength range or range model.
- Return type:
Range|RangeModel|int
- get_wide_mode()[source]
Returns the measurement precision mode (False=fine, True=wide).
- Return type:
- set_exposure_time(ms)[source]
Set the exposure time, in milliseconds.
This method will disable auto-exposure mode.
- set_wavelength_range(value)[source]
Set the wavelength range.
Important
The
set_wavelength_range_model()must be called before this method is called in order to select the range model.- Parameters:
value (
Range|int) – If the range model isRangeModel.ORDER, the wavelength range is set by aRangeenum value. If the range model isRangeModel.WAVELENGTH, the wavelength range is set by a wavelength value, in nm, as anintdata type.- Return type:
- set_wavelength_range_model(model)[source]
Set the wavelength range model.
- Parameters:
model (
RangeModel|int) – The wavelength range model.- Return type:
- wait(stable, timeout=30)[source]
Wait for a valid wavelength to be measured and for the exposure time to be stable.