ewoksscxrd.tests.test_utils#

Functions

sample_frame()

sample_h5(tmp_path)

sample_header_h5(tmp_path)

sample_par(tmp_path)

stub_crysalis(monkeypatch, tmp_path)

Stub crysalis module to record calls and simulate file creation.

test_create_header_from_file(sample_header_h5)

test_create_par_file(sample_par, tmp_path)

test_create_run_file_success(stub_crysalis, ...)

test_read_dataset(sample_h5)

test_subtract_frame_inplace(sample_frame)

Test subtract_frame_inplace with threshold set to max uint32.

test_subtract_images_parallel_invalid(arr)

test_subtract_images_parallel_valid()

test_write_lima_images(tmp_path, monkeypatch)