Filter Wheel#

class phobos.FilterWheel(*args, **kwargs)[source]#

Bases: object

__init__()[source]#
Singleton Class to control the Thorlabs filter wheel. The wheel has 6 positions:
  • 1: ND?

  • 2: ND?

  • 3: ND?

  • 4: ND?

  • 5: ND?

  • 6: ND?

reset()[source]#

Reset the filter wheel to the default position defined in config.

close()[source]#

Close the serial connection.

get()[source]#

Get the current info from the filter wheel.

Returns:

response – Status of the wheel.

Return type:

str

get_pos()[source]#

Returns the current position of the filter wheel.

Returns:

slot – Current position number of the wheel.

Return type:

int

move(slot: int)[source]#

Move the filter wheel to the specified position.

Parameters:

slot (int) – Position number of the wheel to reach.

wait() None[source]#

Wait for the motor to reach the target position.