csaxs_bec.bec_ipython_client.plugins.tool_box.debug_tools.DebugTools#

class DebugTools[source]#

Bases: object

A collection of debugging tools for the BEC IPython client at cSAXS.

Methods

list_detectors

List the names of all JFJ/Eiger detectors configured in the BEC client.

mcs_test_acquire

Method to perform a test acquisition with randomized exposure time, burst frames, and cycles on the MCS card using the DDG trigger setup.

open_it_service_page

Open the overview of IT services hosted by Science IT Infrastructure and Services for cSAXS.

ping_detector

Ping a JFJ/Eiger detector to check if it is reachable.

list_detectors() list[str][source]#

List the names of all JFJ/Eiger detectors configured in the BEC client.

Returns:

A list of detector names.

Return type:

list[str]

mcs_test_acquire(mode: Literal['high_frame', 'medium_frame', 'low_frame'] = 'high_frame')[source]#

Method to perform a test acquisition with randomized exposure time, burst frames, and cycles on the MCS card using the DDG trigger setup.

Parameters:

mode (Literal["high_frame", "medium_frame", "low_frame"]) – The mode of the test. - ‘high_frame’: Tests high frame rates with short exposure times. - ‘medium_frame’: Tests medium frame rates with moderate exposure times. - ‘low_frame’: Tests low frame rates with longer exposure times.

open_it_service_page()[source]#

Open the overview of IT services hosted by Science IT Infrastructure and Services for cSAXS.

ping_detector(detector_name: str) bool[source]#

Ping a JFJ/Eiger detector to check if it is reachable.

Parameters:

detector_name (str) – The name of the detector to ping.

Returns:

True if the detector is reachable, False otherwise.

Return type:

bool