atef.procedure.ComparisonToTarget
- class atef.procedure.ComparisonToTarget(name: 'Optional[str]' = None, device: 'Optional[str]' = None, attr: 'Optional[str]' = None, pv: 'Optional[str]' = None, comparison: 'Optional[Comparison]' = None)[source]
- Attributes:
- attr
- comparison
- device
- name
- pv
Methods
to_signal
([signal_cache])Return the signal described by this Target.
Methods
- __init__(name: str | None = None, device: str | None = None, attr: str | None = None, pv: str | None = None, comparison: Comparison | None = None) None
- to_signal(signal_cache: _SignalCache | None = None) Signal | None
Return the signal described by this Target. First attempts to use the device + attr information to look up the signal in happi, falling back to the raw PV.
- Returns:
- ophyd.Signal
the signal described by this Target
Attributes
- comparison: Comparison | None = None
the comparison to apply to the target