mxcubecore.HardwareObjects.EMBL.EMBLBeamlineTest

Classes

class mxcubecore.HardwareObjects.EMBL.EMBLBeamlineTest.EMBLBeamlineTest(name)[source]

Bases: HardwareObject

focusing_mode_changed(focusing_mode, beam_size)[source]

Reemits focusing changed signal

Parameters:
  • focusing_mode (str) – focusing mode

  • beam_size (list with two int) – beam size in microns

generate_report()[source]

Generates html and pdf report

get_available_tests()[source]

Returns a list with available tests

get_focus_mode()[source]

Returns active focusing mode

get_focus_mode_names()[source]

Returns available focusing mode names

get_focus_motors()[source]

Returns focusing motor hwobj

get_result_html()[source]

Returns html filename

get_startup_test_list()[source]

Returns a list with tests defined at startup

init()[source]

Reads config xml, initiates all necessary hwobj, channels and cmds

measure_flux()[source]

Measures intensity

ppu_restart_all()[source]

Restart ppu processes

ppu_status_changed(is_error, text)[source]

Reemits ppu status changed signal

Parameters:
  • is_error (bool) – is error

  • text (str) – error message

set_focus_mode(mode)[source]

Sets focusing mode

Parameters:

mode (str) – selected focusing mode

set_motor_focus_mode(motor, mode)[source]

Sets focusing mode to a single motor

Parameters:
  • motor (str) – motor name

  • mode (str) – focusing mode

start_test_queue(test_list, create_report=True)[source]

Runs a list of tests

Parameters:
  • test_list (list of str) – list of tests

  • create_report (bool) – create html and pdf reports

stop_comm_process()[source]

Stops pinging

test_focusing()[source]

Tests focusing

test_ppu()[source]

Test ppu