atef.procedure.Target

class atef.procedure.Target(name: str | None = None, device: str | None = None, attr: str | None = None, pv: str | None = None)[source]

A destination for a value. Either an ophyd device+attr pair or EPICS PV

Attributes:
attr
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) None
to_signal(signal_cache: _SignalCache | None = None) Signal | None[source]

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

attr: str | None = None
device: str | None = None

device name and attr

name: str | None = None

name of target

pv: str | None = None

EPICS PV