[SyneRBI/SIRF] extra options for STIR.AcquisitionData.create_uniform_image (Issue #1383)

0 views
Skip to first unread message

Kris Thielemans

unread,
Mar 18, 2026, 1:54:49 PMMar 18
to SyneRBI/SIRF, Subscribed
KrisThielemans created an issue (SyneRBI/SIRF#1383)

At the moment, we have
https://github.com/SyneRBI/SIRF/blob/460386790b40456988a55add20d6aa812a5c5894/src/xSTIR/pSTIR/STIR.py#L1283

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?


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF/issues/1383@github.com>

Reply all
Reply to author
Forward
0 new messages