orangeqs.juice.fridge.thermometers.mock_thermometers#

Mock implementations of a fridge monitoring thermometry unit.

Module Contents#

Classes#

MockThermometry

Mock class for Thermometry unit.

Functions#

mock_sample_heatup

Gradually ramp the temperatures to the target values over the specified duration.

API#

class orangeqs.juice.fridge.thermometers.mock_thermometers.MockThermometry(thermometry_config: orangeqs.juice.fridge.mock_settings.MockThermometrySettings)#

Mock class for Thermometry unit.

property temperatures: list[orangeqs.juice.fridge.data_structures.TemperaturePoint]#

Return the temperature measurements.

async update() → bool#

Update the temperatures with some random noise.

async orangeqs.juice.fridge.thermometers.mock_thermometers.mock_sample_heatup(thermo: orangeqs.juice.fridge.thermometers.mock_thermometers.MockThermometry, targets: dict[str, float], duration: float = 10.0, wait_duration: float = 10, interval: float = 0.1) → bool#

Gradually ramp the temperatures to the target values over the specified duration.

Then waits for a specified duration at the target temperatures, adding some random noise to simulate real conditions.