id4_common.devices.transfocator_device#
Transfocator.
Module Contents#
- id4_common.devices.transfocator_device.logger#
- id4_common.devices.transfocator_device.DEFAULT_MOTORS_IOC = '4idgSoft:'#
- id4_common.devices.transfocator_device.EPICS_ENERGY_SLEEP = 0.15#
- class id4_common.devices.transfocator_device.PyCRLSingleLens#
Bases:
ophyd.PVPositionerSingle CRL lens stack positioner.
- readback#
- setpoint#
- done#
- done_value = 1#
- num_lenses#
- radius#
- location#
- material#
- thickness_error#
- in_limit#
- class id4_common.devices.transfocator_device.PyCRLSignal#
Bases:
ophyd.EpicsSignalEpicsSignal with a value sub-component and EGU readback.
- value#
- egu#
- class id4_common.devices.transfocator_device.PyCRL(*args, **kwargs)#
Bases:
ophyd.DevicePyCRL compound refractive lens controller.
- energy_mono#
- energy_local#
- energy_select#
- slit_hor_size#
- slit_hor_pv#
- slit_vert_size#
- slit_vert_pv#
- focal_size_setpoint#
- focal_size_readback#
- focal_power_index#
- focal_sizes#
- minimize_button#
- system_done#
- dq#
- q#
- z_offset#
- z_offset_pv#
- z_from_source#
- sample_offset#
- sample_offset_pv#
- sample#
- binary#
- ind_control#
- readbacks#
- preview_index#
- focal_size_preview#
- inter_lens_delay#
- verbose_console#
- thickness_error_flag#
- beam_mode#
- lens1#
- lens2#
- lens3#
- lens4#
- lens5#
- lens6#
- lens7#
- lens8#
- set(value, **kwargs)#
Set the system state.
- class id4_common.devices.transfocator_device.EnergySignal#
Bases:
ophyd.SignalSignal that moves the transfocator to a new energy.
- abstractmethod put(*args, **kwargs)#
Raise NotImplementedError — use set() instead.
- set(value, **kwargs)#
Move transfocator to the specified energy.
- class id4_common.devices.transfocator_device.ZMotor#
Bases:
ophyd.EpicsMotorEpicsMotor that optionally tracks X/Y when Z moves.
- set(new_position, **kwargs)#
Move Z and optionally track X/Y.
- stop(*, success=False)#
Stop Z and optionally X/Y.
- id4_common.devices.transfocator_device.make_transfocator_class(motors_ioc=DEFAULT_MOTORS_IOC)#
Return a TransfocatorClass with lens motors bound to motors_ioc.
- Parameters:
motors_ioc (str) – IOC prefix for the transfocator stage motors, e.g.
"4idgSoft:".
- id4_common.devices.transfocator_device.TransfocatorClass#