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