blissoda.demo.processors.stop_scan_xrpd_id31.DemoStopIntegrateSum#
- class blissoda.demo.processors.stop_scan_xrpd_id31.DemoStopIntegrateSum(workflow_threshold, detector_name='difflab6', detector_saturation=1000000.0, frame_target_max=None, frame_target_min=None, attenuation_mode='reactive', ghost_threshold_per_frame=3750.0, spottiness_threshold=0.1, spotty_safe_atten=16, spotty_stability_frames=5, spotty_stability_tol=0.1, spotty_extra_atten=2, metric_timeout=2.0, sum_frame_max_threshold=300000.0, canned_metrics=None)[source]#
Bases:
StopIntegrateSumA demo-friendly
StopIntegrateSumfor the Bliss demo session.Calls
id31_patching()beforesuper().__init__()so that:setup_globals.attenresolves to the mockcontrollers.Attenuator(with.bitsattribute),from id31.attenuator import Attenuator, SiO2transresolves to the mock implementations.
The PyFAI config JSON and Ewoks workflow are auto-created in the processed directory before the parent is initialised.
All other behaviour (workflow submission, Redis stream feedback,
ScanPointIterator/_adjust_filterlogic) is inherited unchanged.- Parameters:
workflow_threshold (float)
detector_name (str)
detector_saturation (float)
frame_target_max (float | None)
frame_target_min (float | None)
attenuation_mode (Literal[‘freeze’, ‘reactive’])
ghost_threshold_per_frame (float)
spottiness_threshold (float)
spotty_safe_atten (int)
spotty_stability_frames (int)
spotty_stability_tol (float)
spotty_extra_atten (int)
metric_timeout (float)
sum_frame_max_threshold (float)
canned_metrics (list[dict] | None)
- get_iterator(chain)#
Consume feedback events each iteration.
- Parameters:
chain (
_Unavailable)- Return type:
Generator[_Unavailable,None,None]
- prepare(chain)#
- Parameters:
chain (
_Unavailable)- Return type:
None
- property pyfai_config: str | Path | None#
- property pyfai_integration_options: dict#
- start(chain)#
- Parameters:
chain (
_Unavailable)- Return type:
None
- stop(chain)#
- Parameters:
chain (
_Unavailable)- Return type:
None