blissoda.demo.processors.stop_scan.DemoPreset#

class blissoda.demo.processors.stop_scan.DemoPreset(lima_limits, scalar_counter_limits)[source]#

Bases: _Unavailable

Start an Ewoks workflow at the start of the scan. This workflow analyses scan data and provides feedback in the form of events in a Redis stream.

Each scan point the events are checked with the following result:

  • stop the scan

  • do nothing

Parameters:
  • lima_limits (dict)

  • scalar_counter_limits (dict)

get_iterator(chain)[source]#

Consume feedback events each iteration.

Parameters:

chain (_Unavailable)

Return type:

Generator[_Unavailable, None, None]

start(chain)[source]#
Parameters:

chain (_Unavailable)

Return type:

None

stop(chain)[source]#
Parameters:

chain (_Unavailable)

Return type:

None