mantidimaging.core.utility.size_calculator module¶
- mantidimaging.core.utility.size_calculator.full_size(shape: Iterable[int]) int [source]¶
Compute the full size of the data, i.e. the number of elements
- Parameters:
shape – The shape of the data for which the size will be calculated
- Returns:
The size
- mantidimaging.core.utility.size_calculator.full_size_KB(shape: Iterable[int], dtype: dtype)[source]¶