Flip Mount#
- class phobos.FlipMount(*args, **kwargs)[source]#
Bases:
objectClass for the Thorlabs MFF101 Flip Mount.
- get_position() int[source]#
Get the current position of the flip mount.
- Returns:
The current position index : 0 = up; 1 = down.
- Return type:
int
Overview#
FlipMount controls a Thorlabs MFF101 flip mount with two states:
0: up1: down
The class exposes methods to read the current state, move to a target state, toggle state, and close the device connection.
Configuration#
The class reads the following configuration keys:
flip_mount.port: serial device path (for example/dev/ttyUSBFlipMount)flip_mount.stabilization_time: wait time (seconds) after each move command
Example configuration:
flip_mount:
port: /dev/ttyUSBFlipMount
stabilization_time: 0.5
Notes#
Positions are validated and must be either
0or1.move_to_positionwaits forstabilization_timebefore reading back and printing the final state.