ewoksfluo.resource_utils.job_parameters#
- ewoksfluo.resource_utils.job_parameters(narrays, shape, dtype, multiplier=1, chunking_possible=True)[source]#
Return maximum number of parallel jobs and chunk size along the first dimension so that CPU and memory usage stay within available limits.
- Parameters:
narrays (
int)shape (
Tuple[int,...])dtype (
DTypeLike)multiplier (
int)chunking_possible (
bool)
- Return type:
Tuple[int,int]