blissoda.demo.tests.itest_stop_scan_xrpd_id31#

Functions

test_attenuation_decrease()

Verify that the preset decreases attenuation when frames are too dim.

test_attenuation_increase()

Verify that the preset increases attenuation when frames are saturating.

test_freeze_mode_smoke()

Smoke-test attenuation_mode='freeze': the preset classifies using the canned frame-0 metric, runs its setup phase, and leaves the scan in a consistent state.

test_scan_stop_pyfai()

test_sum_frame_max_threshold_stop()

The accumulated-frame max-counts criterion stops the scan early and the produced _sum.h5 records which threshold fired and at what value.