photons.equipment.thorlabs_stage module
Communicate with a Thorlabs translation/rotation stage.
- class photons.equipment.thorlabs_stage.ThorlabsStage(record, **kwargs)[source]
Bases:
KinesisBaseCommunicate with a Thorlabs translation/rotation stage.
The ConnectionRecord.properties attribute must contain the “encoder_factor” to convert the encoder position to real-world units.
- 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).
-
connection:
IntegratedStepperMotors|BenchtopStepperMotor
- info()[source]
Returns the information about the stage.
For example:
{ 'unit': str, either ' mm' or the unicode value of the degree symbol 'minimum': float, the minimum position that the stage can be set to 'maximum': float, the maximum position that the stage can be set to }