httomo.runner.dataset_store_backing.calculate_section_output_chunk_shape

httomo.runner.dataset_store_backing.calculate_section_output_chunk_shape#

httomo.runner.dataset_store_backing.calculate_section_output_chunk_shape(chunk_shape: Tuple[int, int, int], section: Section) Tuple[int, int, int][source]#

Calculate the shape of the section output chunk that is written to the store. This accounts for the data’s non-slicing dims changing during processing, which changes the chunk shape for the section.