mxcubeweb.core.adapter.wavelength_adapter#

Classes

WavelengthAdapter(ho, *args)

Adapter for wavelength Hardware Object, a web socket is used communicate information on longer running processes.

class mxcubeweb.core.adapter.wavelength_adapter.WavelengthAdapter(ho, *args)[source]#

Bases: ActuatorAdapterBase

Adapter for wavelength Hardware Object, a web socket is used communicate information on longer running processes.

limits()[source]#

Read the wavelengt limits. :returns: Two floats (min, max) limits. :rtype: (tuple)

Raises:

ValueError – When limits for any reason can’t be retrieved.

read_only()[source]#

Check if the wavelength is read only or not. Retuns:

(bool): True if read only, False if not.

state()[source]#

Get the state. :returns: The state :rtype: (str)

stop()[source]#

Stop the execution.