pool_job

despasito.utils.parallelization.MultiprocessingJob.pool_job

MultiprocessingJob.pool_job(func, inputs)[source]

This function will setup and dispatch thermodynamic or parameter fitting jobs.

Parameters:
  • func (function) – Function used in job

  • inputs (list[tuple]) – Each entry of this list contains the input arguments for each job

Returns:

output – This structure contains the outputs of the jobs given

Return type:

tuple