Virtual module#

RedSun core virtual bus implementation.

final class redsun.virtual.HardwareVirtualBus#

Hardware virtual bus.

All plugins within RedSun have access to this bus to expose signals for interfacing with upper layers. See the VirtualBus class for API information.

Signals

sigStepperStep: Signal(str, str, str)
  • Emitted when the user clicks the up button for a stepper motor axis.

  • Carries: motor name, axis, direction (north, or south).

  • Source: MotorWidget.

sigStepperStepSizeChanged: Signal(str, str, float)
  • Emitted when the user changes the step size for a stepper motor axis.

  • Carries: motor name, axis, new step size.

  • Source: MotorWidget.

sigNewImage: Signal(dict[str, NDArray[Any]])
  • Emitted when a new image is available.

  • Carries: image data.

  • Source: DetectorController.