Closed paskino closed 8 months ago
When calculating the downsampling on the Z axis we use int
int
https://github.com/vais-ral/CILViewer/blob/b6b0eb4ae2aa375bbaf5df8e11bd76cb1d739b28/Wrappers/Python/ccpi/viewer/utils/conversion.py#L1015-L1016
It should be using round
round
num_slices_per_chunk = int(np.round(1 / xy_axes_magnification)) # number of slices in the z direction we are resampling together.
When calculating the downsampling on the Z axis we use
int
https://github.com/vais-ral/CILViewer/blob/b6b0eb4ae2aa375bbaf5df8e11bd76cb1d739b28/Wrappers/Python/ccpi/viewer/utils/conversion.py#L1015-L1016
It should be using
round