[Gate-users] Possibly a bug in GATE geometry check?

Ida Häggström ida.haggstrom at radfys.umu.se
Fri Oct 2 12:48:15 CEST 2009


Dear all,

I've recently posted some questions regarding segmentation violations,
geometry test errors and voxelized phantoms. I've experienced a lot of
problems with getting a proper run from GATE, and I've spent many hours
(piuh!) troubleshooting! =) Anyway, I discovered something that I'm not sure
is a bug in GATE or if it's my code that is erroneous...

I run a geometry check as I initialize my run, to check that there are no
geometry overlaps etc since I believe this can cause segmentation violations
which aborts the entire run.
-------------
/run/initialize
/geometry/test/recursive_test
-------------
I usually keep the visualization disabled since this saves a lot of time for
longer runs:
-------------
/vis/disable
-------------
 I noticed that I get errors regarding my voxelized phantom (overshooting
daughter volume) which I don't think should be there (emphasis on THINK!).
When I turn the visualization ON however, the errors disappear and I only
get results like:
----------
GeomTest: no daughter volume extending outside mother detected.
GeomTest: no overlapping daughters detected.
---------
from the geometry check. My visualization macro is very simple:
----------
# Visualization.mac
/vis/open OGLSX
/vis/viewer/reset
/vis/drawView 45 45
/vis/viewer/zoom 2
/vis/viewer/set/style surface
/vis/drawVolume
/tracking/storeTrajectory 1
/vis/scene/endOfEventAction accumulate
/vis/viewer/update
------------
and I don't think the visualization should have anything to do with the
geometry setup at all?(!) Can this be a GATE bug? Note that the only thing I
change in my main macro is changing "/vis/disable" to
----------
#/vis/disable
/control/execute Visualization.mac
----------
and I get no errors. I've also tried to disable all visualization of the
phantom (in the range.dat file, setting visualization to "false") but this
has no affect on the run results (no matter if I have the main visualization
on or off).

I have attached my main macro, GATE run output log, voxelized phantom macro
with related .dat files and a screenshot of my setup with camera and
phantom.

Please, if anyone has any idea what could cause these problems, please let
me know! I'm really running out of ideas... =) It's not a good option to
always have to run with visualization on for longer runs...
Thanks!
Ida
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20091002/d3b48524/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: VoxelizedPhantom.png
Type: image/png
Size: 47756 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20091002/d3b48524/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: VoxelPhantom.mac
Type: application/octet-stream
Size: 537 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20091002/d3b48524/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: range.dat
Type: application/octet-stream
Size: 193 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20091002/d3b48524/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smallVoxelPhantom.dat
Type: application/octet-stream
Size: 71 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20091002/d3b48524/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GateOutputLog
Type: application/octet-stream
Size: 11818 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20091002/d3b48524/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Main.mac
Type: application/octet-stream
Size: 537 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20091002/d3b48524/attachment-0004.obj>


More information about the Gate-users mailing list