drs4.qlook.gui module#

drs4.qlook.gui.run(*, chassis: Literal[1, 2], ctrl_addr: str | None = None, ctrl_user: str | None = None, timeout: float | None = None, figsize: tuple[int, int] | None = (12, 6), interval: int = 10, workdir: PathLike[str] | str | None = None) None[source]#

Display current auto-spectra and bit distributions of DRS4.

Parameters:
  • chassis – Chassis number of DRS4 (1|2).

  • ctrl_addr – IP address of DRS4. If not specified, environment variable DRS4_CHASSIS[1|2]_CTRL_ADDR will be used.

  • ctrl_user – User name of DRS4. If not specified, environment variable DRS4_CHASSIS[1|2]_CTRL_USER will be used.

  • timeout – Timeout of the connection process in seconds.

  • figsize – Width and height of the display in inches.

  • interval – Refresh interval of the display in seconds.

  • workdir – Working directory where intermediate images will be put.