Sections#
Sections is the fundamental concept of the HTTomo’s framework which is related to how the I/O operations and processing of data is organised.
Note
The main purpose of a section is to organise the data input/output workflow, as well as, chain together the methods so that the constructed pipeline is computationally efficient.
To better understand the purpose of the section it is also useful to read information about Chunks, Blocks and Memory Estimators.
Bellow we present different situations that can lead to the sections being organised in a specific manner.
Sections are created when:
Re-slicing is needed, which is related to the change of pattern.
The output of the method needs to be saved to the disk.
The Side outputs is required by one of the methods.
Example 1: Sections with re-slice#
Example 2 : Sections with re-slice and data saving#
Example 3 : Sections with side outputs#
Note
It can be seen that creating more sections in pipelines is to be avoided when building an efficient pipeline. Creating a section usually leads to synchronisation of all processes on the CPU and potentially, if not enough memory, through-disk operations.