blissoda.demo.tests.utils.streamline.test_streamline_id31_auto_stop#

blissoda.demo.tests.utils.streamline.test_streamline_id31_auto_stop(streamline_scanner, auto_stop_threshold=0.005)[source]#

Integration test for the “auto-stop” accumulation mode.

Configures the scanner for auto-stop mode, runs a single sample, and verifies that: - A *_sum.h5 file is written with a (1, H, W) dataset. - The normal streamline pipeline produces integrated 1D results.

Parameters:
  • streamline_scanner (StreamlineScanner) – The StreamlineScanner object to test.

  • auto_stop_threshold (float) – The value above or below which the Ewoks auto stop workflow will send a signal to stop the loopscan. See the definition of the IntegrateAndSendMsg task in the workflow (which may change over time) to inspect the computation that involves this threshold. Default: 0.005.