pcdsdevices.transfocate.XPPTFI
- class pcdsdevices.transfocate.XPPTFI(*args, **kwargs)
A development screen for the XPP Transfocator Interlock.
Ophyd Device Components Attribute
Class
Suffix
Docs
Kind
Notes
bypass_mode
:BYP:SWBypass mode switch
normal
test_mode
:TST:SWTest mode switch
normal
error_type
:SYS:ERROR:TYPESystem error type indicator
normal
error_msg
:SYS:ERROR:MSGSystem error message
normal
error_summary
:ERROR:SUMMARYtrue means theres an error somehwere in the system
normal
master_reset
:MASTER:RESETMaster reset command
normal
mono_bb_temp
:MONO:BB:EPS:ILOCK:TC_TEMPMono beamblock motor temperature
normal
reset_mono_latch
:MONO:RST:LATCHReset monochromator latch
normal
safe_to_retract_mono_bb
:MONO:BB:EPS:SAFE:TO:RETRACTSafe to retract monochromator beamblock
normal
curr_mode
:CURR:MODECurrent mode
normal
mono_bb_state
:MONO:BB:StateMonochromator beamblock state
normal
st1l0_state
:ST1L0:STATEstate is either IN or Unknown
normal
st1l2_state
:ST1L2:STATEstate is either IN or Unknown
normal
protected
:PROTECTEDProtected by stopper or beamblock
normal
in_disallowed_region
:DISSALL:IN:REGIONIndicator if in disallowed region
normal
disallowed_low
:DISSALL:RAD:LOWLow bound of disallowed region
normal
disallowed_high
:DISSALL:RAD:HIGHHigh bound of disallowed region
normal
effective_rad_vert
:EFF:VERT:RADIUSVertical effective radius
normal
effective_rad_horz
:EFF:HORZ:RADIUSHorizontal effective radius
normal
pmps_photon_energy
:ENRG:IN:PMPS:PHOTON:ENERGYPhoton energy from PMPS
normal
epics_photon_energy
:ENRG:IN:EPICS:PHOTON:ENERGYPhoton energy from EPICS
normal
one_horz_state
:1DH:State1D horizontal lens state
normal
one_vert_state
:1DV:State1D vertical lens state
normal
twod_lens1_state
:2D1:State2D lens 1 state
normal
twod_lens2_state
:2D2:State2D lens 2 state
normal
twod_lens3_state
:2D3:State2D lens 3 state
normal
twod_lens4_state
:2D4:State2D lens 4 state
normal
twod_lens5_state
:2D5:State2D lens 5 state
normal
twod_lens6_state
:2D6:State2D lens 6 state
normal
twod_lens7_state
:2D7:State2D lens 7 state
normal
twod_lens8_state
:2D8:State2D lens 8 state
normal
two_insert_lens1
:2D:INSERT:LENS:1:INSERTCommand to insert 2D lens 1
normal
two_insert_lens2
:2D:INSERT:LENS:2:INSERTCommand to insert 2D lens 2
normal
two_insert_lens3
:2D:INSERT:LENS:3:INSERTCommand to insert 2D lens 3
normal
two_insert_lens4
:2D:INSERT:LENS:4:INSERTCommand to insert 2D lens 4
normal
two_insert_lens5
:2D:INSERT:LENS:5:INSERTCommand to insert 2D lens 5
normal
two_insert_lens6
:2D:INSERT:LENS:6:INSERTCommand to insert 2D lens 6
normal
two_insert_lens7
:2D:INSERT:LENS:7:INSERTCommand to insert 2D lens 7
normal
two_insert_lens8
:2D:INSERT:LENS:8:INSERTCommand to insert 2D lens 8
normal
two_remove_lens1
:2D:REMOVE:LENS:1:REMOVECommand to remove 2D lens 1
normal
two_remove_lens2
:2D:REMOVE:LENS:2:REMOVECommand to remove 2D lens 2
normal
two_remove_lens3
:2D:REMOVE:LENS:3:REMOVECommand to remove 2D lens 3
normal
two_remove_lens4
:2D:REMOVE:LENS:4:REMOVECommand to remove 2D lens 4
normal
two_remove_lens5
:2D:REMOVE:LENS:5:REMOVECommand to remove 2D lens 5
normal
two_remove_lens6
:2D:REMOVE:LENS:6:REMOVECommand to remove 2D lens 6
normal
two_remove_lens7
:2D:REMOVE:LENS:7:REMOVECommand to remove 2D lens 7
normal
two_remove_lens8
:2D:REMOVE:LENS:8:REMOVECommand to remove 2D lens 8
normal
one_horz_lens1
:1D:HORZ:MOVE:LENS:1:INSERTCommand to insert 1D horizontal lens 1
normal
one_horz_lens2
:1D:HORZ:MOVE:LENS:2:INSERTCommand to insert 1D horizontal lens 2
normal
one_horz_lens3
:1D:HORZ:MOVE:LENS:3:INSERTCommand to insert 1D horizontal lens 3
normal
one_horz_lens4
:1D:HORZ:MOVE:LENS:4:INSERTCommand to insert 1D horizontal lens 4
normal
one_horz_out
:1D:HORZ:MOVE:OUTCommand to move 1D horizontal lens out
normal
one_vert_lens1
:1D:VERT:MOVE:LENS:1:INSERTCommand to insert 1D vertical lens 1
normal
one_vert_lens2
:1D:VERT:MOVE:LENS:2:INSERTCommand to insert 1D vertical lens 2
normal
one_vert_lens3
:1D:VERT:MOVE:LENS:3:INSERTCommand to insert 1D vertical lens 3
normal
one_vert_lens4
:1D:VERT:MOVE:LENS:4:INSERTCommand to insert 1D vertical lens 4
normal
one_vert_out
:1D:VERT:MOVE:OUTCommand to move 1D vertical lens out
normal
Methods
- configure(d: Dict[str, Any]) Tuple[Dict[str, Any], Dict[str, Any]]
Configure the device for something during a run
This default implementation allows the user to change any of the
configuration_attrs. Subclasses might override this to perform additional input validation, cleanup, etc.- Parameters:
d (dict) – The configuration dictionary. To specify the order that the changes should be made, use an OrderedDict.
- Returns:
(old, new) tuple of dictionaries
Where old and new are pre- and post-configure configuration states.
- describe() OrderedDictType[str, Dict[str, Any]]
Provide schema and meta-data for
read().This keys in the
OrderedDictthis method returns must match the keys in theOrderedDictreturn byread().This provides schema related information, (ex shape, dtype), the source (ex PV name), and if available, units, limits, precision etc.
- Returns:
data_keys (OrderedDict) – The keys must be strings and the values must be dict-like with the
event_model.event_descriptor.data_keyschema.
- get(**kwargs)
Get the value of all components in the device
Keyword arguments are passed onto each signal.get(). Components beginning with an underscore will not be included.
- post_elog_status()
Post device status to the primary elog, if possible.
- read() OrderedDictType[str, Dict[str, Any]]
Read data from the device.
This method is expected to be as instantaneous as possible, with any substantial acquisition time taken care of in
trigger().The
OrderedDictreturned by this method must have identical keys (in the same order) as theOrderedDictreturned bydescribe().By convention, the first key in the return is the ‘primary’ key and maybe used by heuristics in
bluesky.The values in the ordered dictionary must be dict (-likes) with the keys
{'value', 'timestamp'}. The'value'may have any type, the timestamp must be a float UNIX epoch timestamp in UTC.- Returns:
data (OrderedDict) – The keys must be strings and the values must be dict-like with the keys
{'value', 'timestamp'}
- read_configuration() OrderedDictType[str, Dict[str, Any]]
Dictionary mapping names to value dicts with keys: value, timestamp
To control which fields are included, change the Component kinds on the device, or modify the
configuration_attrslist.
- screen()
Open a screen for controlling the device.
Default behavior is the typhos screen, but this method can be overridden for more specialized screens.
- classmethod set_defaults(*, connection_timeout=10.0)
Set class-wide defaults for device communications
This may be called only before any instances of Device are made.
This setting applies to the class it is called on and all its subclasses. For example,
>>> Device.set_defaults(...)
will apply to any Device subclass.
- Parameters:
connection_timeout (float, optional) – Time (seconds) allocated for establishing a connection with the IOC.
- Raises:
RuntimeError – If called after
EpicsSignalBasehas been instantiated for the first time.
- stop(*, success=False)
Stop the Device and all (instantiated) subdevices
- summary()
- trigger() StatusBase
Trigger the device and return status object.
This method is responsible for implementing ‘trigger’ or ‘acquire’ functionality of this device.
If there is an appreciable time between triggering the device and it being able to be read (via the
read()method) then this method is also responsible for arranging that theStatusBaseobject returned by this method is notified when the device is ready to be read.If there is no delay between triggering and being readable, then this method must return a
StatusBaseobject which is already completed.- Returns:
status (StatusBase) –
StatusBaseobject which will be marked as complete when the device is ready to be read.
Attributes
- configuration_attrs
- connected
- connection_timeout
- hints
- kind