mxcubeweb.core.adapter.motor_adapter#

Classes

MotorAdapter(ho, *args)

class mxcubeweb.core.adapter.motor_adapter.MotorAdapter(ho, *args)[source]#

Bases: ActuatorAdapterBase

limits()[source]#

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

Raises:

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

state()[source]#

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

stop()[source]#

Stop an action/movement.