mxcubecore.HardwareObjects.Marvin

Classes

Marvin(*args, **kwargs)

class mxcubecore.HardwareObjects.Marvin.Marvin(*args, **kwargs)[source]

Bases: SampleChanger

assert_can_execute_task()[source]
Raises:

(Exception) – If sample changer cannot execute a task

clear_basket_info(basket)[source]

Clears information about basket

focusing_mode_changed(focusing_mode, beam_size)[source]

Sets CRL combination based on the focusing mode

force_emit_signals()[source]

Emits all hardware object signals

The method is called from the gui via beamline object to ensure that bricks have values after the initialization. Problem arise when a hardware object is used by several bricks. If first brick connects to some signal emitted by a brick then other bricks connecting to the same signal will not receive the values on the startup. The easiest solution is to call force_emit_signals method directly after the initialization of the beamline object

get_log_filename()[source]

Returns log filename

get_sample_properties()[source]

Gets sample properties

init()[source]

‘public’ post-initialization method. Override as needed.

For ConfiguredObjects called after loading contained objects.

load(sample=None, wait=True)[source]

Load a sample

mounted_sample_puck_changed(mounted_sample_puck)[source]

Updates mounted puck index

puck_switches_changed(puck_switches)[source]

Updates puck switches

run_test()[source]

Test method mounts/dismounts samples

sample_is_loaded_changed(sample_detected)[source]

Updates sample is loaded

veto_changed(status)[source]

Veto changed callback. Used to wait for ready

wait_ready(timeout=None)[source]

Waits until the sample changer is ready