Skip to content

temperature_plot

frog.gui.temperature_plot ¤

Panel showing a plot of temperatures.

Attributes¤

Classes¤

TemperaturePlot() ¤

Bases: QGroupBox

Widgets to view the temperature properties.

Creates a panel with a graph to monitor the blackbody temperatures.

Source code in frog/gui/temperature_plot.py
31
32
33
34
35
36
37
38
39
40
def __init__(self) -> None:
    """Creates a panel with a graph to monitor the blackbody temperatures."""
    super().__init__("BB Monitor")

    layout = self._create_controls()
    self.setLayout(layout)

    pub.subscribe(
        self._plot_bb_temps, f"device.{TEMPERATURE_MONITOR_TOPIC}.data.response"
    )
Functions¤