photons.equipment.widgets.shot702_controller module

Widget for an OptoSigma SHOT-702 controller.

class photons.equipment.widgets.shot702_controller.OptoSigmaSHOT702Widget(connection, *, parent=None)[source]

Bases: BaseEquipmentWidget

Widget for an OptoSigma SHOT-702 controller.

Parameters:
  • connection (OptoSigmaSHOT702) – The connection to the SHOT-702 controller.

  • parent (QWidget) – The parent widget.

connection: OptoSigmaSHOT702
has_move_started()[source]

Return whether the rotation stage is moving.

Return type:

bool

notification_handler(position, angle, is_moving)[source]

Handle notifications emitted by the OptoSigmaSHOT702 Service.

Return type:

None

on_angle_editing_finished()[source]

Set the angle of the stage.

Return type:

None

on_edit_settings()[source]

Show the Settings Dialog.

Return type:

None

on_home()[source]

Home the stage.

Return type:

None

on_stop()[source]

Stop the stage from moving.

Return type:

None

on_timer_timeout()[source]

Slot for the QTimer timeout signal.

Return type:

None

update_angle_spinbox(position, angle)[source]

Update the value and tooltip Angle spinbox.

Return type:

None

class photons.equipment.widgets.shot702_controller.SettingsDialog(parent)[source]

Bases: QDialog

Edit the rotation rate and the acceleration settings.

Parameters:

parent (OptoSigmaSHOT702Widget) – The parent widget.

on_apply_clicked()[source]

The Apply button was clicked.

Return type:

None

save_settings()[source]

Save the settings to the controller.

Return type:

None

closeEvent(event)[source]

Overrides QtWidgets.QWidget.closeEvent().

Return type:

None