[Gate-users] Dose actor voxel precision issue

Matthew Strugari matthew.strugari at dal.ca
Tue May 26 15:38:17 CEST 2020


Hi all,

When using the dose actor with sub-mm voxels, I notice issues with the floating point precision of the Offset and ElementSpacing stored in the output mhd files:
Offset = -25.440999999999999 -25.440999999999999 -26.25
ElementSpacing = 0.49399998784065247 0.49399998784065247 1.5
Which are based on my settings:
/gate/actor/dose1/setSize 50.882 50.882 52.5 mm
/gate/actor/dose1/setVoxelSize 0.494 0.494 1.5 mm

I have been ignoring this and manually overwriting the header files since the difference is insignificant but it would be nice to avoid having to do that. Has anyone else experienced this issue?

Cheers,

Matthew


--

Matthew Strugari

Biomedical Translational Imaging Centre - BIOTIC,
5890 University Ave,
Halifax, NS, B3K 6R8
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20200526/1e8ccc65/attachment-0001.html>


More information about the Gate-users mailing list