httomo.runner.dataset_store_backing.calculate_section_chunk_bytes#
- httomo.runner.dataset_store_backing.calculate_section_chunk_bytes(chunk_shape: Tuple[int, int, int], dtype: dtype[Any] | None | type[Any] | _SupportsDType[dtype[Any]] | str | tuple[Any, int] | tuple[Any, SupportsIndex | Sequence[SupportsIndex]] | list[Any] | _DTypeDict | tuple[Any, Any], section: Section) int [source]#
Calculate the number of bytes in the section output chunk that is written to the store. Ths accounts for data’s non-slicing dims changing during processing, which changes the chunk shape for the section and thus affects the number of bytes in the chunk.