orangeqs.juice.dashboard.widgets.temperature_widget#

Widget for controlling thermometry units.

Module Contents#

Classes#

TemperatureWidget

Widget to display temperature measurements from thermometry units.

API#

class orangeqs.juice.dashboard.widgets.temperature_widget.TemperatureWidget(thermometry_component_id: str, thermometer_map: dict[str, str] = {})#

Widget to display temperature measurements from thermometry units.

Uses an ECharts pane to display temperature information over time, and provides a dropdown selector to filter the data on specified time ranges. Each cryostat level displays its own temperature sensor info as a separate _TemperaturePlot. Multiple temperature sensors per level may exist.

Parameters#

  • thermometry_component_id (str): The ID that is used to retrieve information from the backend.

  • thermometer_map: dict[str, str]: Mapping from sensor ID to cryostat level. Defaults to none.

async initial_update(timerange_s: int = -1) None#

Load initial data from InfluxDB2.

update() None#

Manually updating is not necessary for this widget.

update_sub(event: orangeqs.juice.system_monitor.data_structures.TemperaturePoint) None#

Update the plot with new data from subscriber.