Mcore_handler.split_job_from_arrays
- Mcore_handler.split_job_from_arrays(len_arrays, stype='default')[source]
Split an array for parallel independant computing, by sharing independant sub-spaces of array index
- Parameters:
len_arrays (int) – length of the array containing the full job to perform in parallel
stype (str) –
- method used to split the array:
”comb”:
- Returns:
mask – subspace of the array indexes, specific to each instantiation of the programm
- Return type:
np.array