deltakit.decode.analysis.StimDecoderManager.clear_pool_manager#

static StimDecoderManager.clear_pool_manager(pool, total_processes: int)#

Configure pool workers to state of this decoder manager.

Parameters:
  • total_processes (int) – The total number of processes within the pool.

  • pool (pathos.multiprocessing.ProcessPool) – Pathos pool to use to run shots in parallel. Assumed given pool is already configured with decoder manager data.