bilby.core.utils.parallel

Functions

bilby_pool([likelihood, priors, use_ratio, ...])

Yield a parallel pool object that is initialized with variables typically needed by Bilby for parallel tasks that is automatically close when closing the context.

close_pool(pool)

Safely close a parallel pool.

create_pool([likelihood, priors, use_ratio, ...])

Create a parallel pool object that is initialized with variables typically needed by Bilby for parallel tasks.

initialize_global_variables(likelihood, ...)

Store a global copy of the likelihood, priors, and search keys for multiprocessing.