ewoksfluo.resource_utils.array_chunk_size#

ewoksfluo.resource_utils.array_chunk_size(shape, dtype, multiplier=1)[source]#

Process array with a chunk size along the first dimension to fit in memory.

Parameters:
  • shape (Tuple[int, ...])

  • dtype (Union[dtype[Any], None, type[Any], _SupportsDType[dtype[Any]], str, tuple[Any, int], tuple[Any, Union[SupportsIndex, Sequence[SupportsIndex]]], list[Any], _DTypeDict, tuple[Any, Any]])

  • multiplier (int)

Return type:

int