msl.equipment.resources.raicol.raicol_tec module

Control a TEC (Peltier-based) oven from Raicol Crystals.

class msl.equipment.resources.raicol.raicol_tec.RaicolTEC(record)[source]

Bases: ConnectionSerial

Control a TEC (Peltier-based) oven from Raicol Crystals.

Do not instantiate this class directly. Use the connect() method to connect to the equipment.

Parameters

record (EquipmentRecord) – A record from an Equipment-Register Database.

get_setpoint()[source]

Get the setpoint temperature.

Returns

float – The setpoint temperature, in Celsius.

off()[source]

Turn the TEC off.

on()[source]

Turn the TEC on.

set_setpoint(temperature)[source]

Set the setpoint temperature.

Parameters

temperature (float) – The setpoint temperature, in Celsius. Must be in the range [20.1, 60.0].

temperature()[source]

Returns the current temperature of the oven.

The temperature is measured by a PT1000-Platinum resistor temperature sensor that is located near the crystal in the metalic mount.

Returns

float – The temperature of the oven, in Celsius.