Hanut Vemulapalli opened issue #274: PressureUnits(NameEnum) has multiple names (mbar, bar) associated to the same value 0 at ethz_hvl / hvl_ccb

Hanut Vemulapalli
2022-03-21T16:23:05Z

PressureUnits(NameEnum) has multiple names (mbar, bar) associated to the same value 0. Since change of units is not needed for the PT experiment which is the only use case for this class at the moment we propose doing away with it and passing the value 0 by default to the sensor at initiation.

` class PressureUnits(NameEnum): """ Enum of available pressure units for the digital display. "0" corresponds either to bar or to mbar depending on the TPG model. In case of doubt, the unit is visible on the digital display. """'

mbar = 0
bar = 0
Torr = 1
Pascal = 2
Micron = 3
hPascal = 4
Volt = 5 `