Source code for sophys.common.devices.storage_ring
from sophys.common.utils import EpicsSignalWithRetryRO
from ophyd import Device, Component
[docs]
class StorageRing(Device):
"""Useful signals from the Storage Ring."""
ring_current = Component(
EpicsSignalWithRetryRO,
"SI-Glob:AP-CurrInfo:Current-Mon",
kind="hinted",
timeout=5,
connection_timeout=5,
)
_default_read_attrs = ["ring_current"]
def __init__(self, *, name, **kwargs):
super().__init__(prefix="", name=name, **kwargs)