At the moment, we have
|
def create_uniform_image(self, value=0, xy=None): |
It would be better to fully expose the relevant STIR functionality for zooming etc. For SPECT, we currently have to do something like this
image = acq_data.create_uniform_image()
image=image.zoom_image(zooms=(.5,1,1), size=((image.shape[0]+1)//2, -1, -1))
(i.e. double the z-voxel size, halve the number of z-voxels)
It could be easy enough to add the zooms and size options, and deprecate (but still support) xy_size?
At the moment, we have
SIRF/src/xSTIR/pSTIR/STIR.py
Line 1283 in 4603867
It would be better to fully expose the relevant STIR functionality for zooming etc. For SPECT, we currently have to do something like this
(i.e. double the z-voxel size, halve the number of z-voxels)
It could be easy enough to add the
zoomsandsizeoptions, and deprecate (but still support)xy_size?