mxcubecore.HardwareObjects.mockup.DiffractometerMockup#
Classes
|
Descript. |
- class mxcubecore.HardwareObjects.mockup.DiffractometerMockup.DiffractometerMockup(*args)[source]#
Bases:
GenericDiffractometer
Descript. :
- abort() None [source]#
Immediately terminate HardwareObject action.
Should not happen in state READY.
- Return type:
None
- execute_server_task(method, timeout=30, *args)[source]#
- Method is used to execute commands and wait till
diffractometer is in ready state
- Parameters:
method (instance) – method to be executed
timeout (seconds) – timeout in seconds
- get_scan_limits(speed=None, num_images=None, exp_time=None)[source]#
Gets scan limits. Necessary for example in the plate mode where osc range is limited
- move_to_beam(x, y, omega=None)[source]#
- Descript.function to create a centring point based on all motors
positions.
- move_to_coord(x, y, omega=None)[source]#
- Descript.function to create a centring point based on all motors
positions.
- re_emit_values()[source]#
Update values for all internal attributes
Should be expanded in subclasse with more updatable attributes (e.g. value, limits)