mxcubecore.HardwareObjects.BlissEnergy#
Energy and Wavelength with bliss. Example yaml file: - for tunable wavelength beamline: .. code-block:: yaml
class: BlissEnergy.BlissEnergy configuration:
username: Energy
- objects:
controller: bliss.yml energy_motor: energy_motor.yml
for fixed wavelength beamline:
class: BlissEnergy.BlissEnergy
configuration:
username: Energy
read_only: True
default_value: 12.8123
Classes
|
Energy and Wavelength with bliss. |
- class mxcubecore.HardwareObjects.BlissEnergy.BlissEnergy(name)[source]#
Bases:
AbstractEnergy
Energy and Wavelength with bliss.
- get_limits()[source]#
Return energy low and high limits. :returns: two floats tuple (low limit, high limit) [keV]. :rtype: (tuple)
- set_value(value, timeout=0)[source]#
Move energy to absolute position. Wait the move to finish. :param value: target value. :type value: float :param timeout: optional - timeout [s],
If timeout == 0: return at once and do not wait if timeout is None: wait forever.
- Raises:
ValueError – Value not valid or attempt to set write only actuator.