qim3d.utils.internal_tools.sizeof() does not seem to work properly
The sizeof() function does not work properly in some cases, e.g. if a NumPy array gets expanded with a dimension which is then removed again, sizeof() returns a size less than 200 B although the files are +3 GB.
Example:
vol, metadata = dxchange.read_txrm(path) vol = np.expand_dims(vol,axis=0) vol = vol.squeeze()
Edited by s184058