pysted.base.RandomActionSelector

class pysted.base.RandomActionSelector(pdt, p_ex, p_sted, roi_shape)

Class which selects a random action from : 0 - Confocal acquisition 1 - STED acquisition 2 - Wait (for the time of 1 acquisition)

..note::

For now we have are pre setting the pdt, p_ex and p_sted that will be used for the actions. A real agent would select the powers / dwellit me individually

Parameters:
  • pdt – The pixel dwell time that will be used in the acquisitions

  • p_ex – The excitation beam power that will be used when the selected action is confocal or sted

  • p_sted – The STED beam power that will be used when the selected action is sted

RandomActionSelector.select_action()

selects a random action from the current actions