Source code for xedocs.schemas.pmt_data.voltage_settings
import rframe
import datetime
from .base_pmt_data import BasePmtData
from ..constants import DETECTOR
[docs]
class VoltageSetting(BasePmtData):
_ALIAS = "pmt_voltage_settings"
name: str = rframe.Index(min_length=4, max_length=60)
detector: DETECTOR = rframe.Index()
pmt: int = rframe.Index(ge=0)
active: bool = True
created_by: str
comments: str
created_date: datetime.datetime
voltage: float