<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>To add to this -</p>
<p><br>
</p>
<p>If I create a 2D/3D actor not attached to any volume, then I get a segmentation error. I feel like this is the right way of doing things but I'm not sure why I'm getting this error. There's no helpful debugging info that comes out if I switch verbosity on.</p>
<p><br>
</p>
<p>My dose actor definition in the macro is:</p>
<p><br>
</p>
<p></p>
<div>/gate/actor/addActor DoseActor test<br>
/gate/actor/test/setPosition 12.5 0. 10. mm<br>
/gate/actor/test/setSize 35. 50. .028 mm<br>
/gate/actor/test/setResolution 140 200 1<br>
/gate/actor/test/stepHitType random<br>
/gate/actor/test/enableEdep true<br>
/gate/actor/test/saveEveryNSeconds 60<br>
/gate/actor/test/save /home/user/GATE_Simulations/wedge/test.txt<br>
<br>
Sam<br>
</div>
<br>
<p></p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Manger, Sam <S.Manger@warwick.ac.uk><br>
<b>Sent:</b> 14 March 2017 16:44<br>
<b>To:</b> gate-users@lists.opengatecollaboration.org<br>
<b>Subject:</b> [Gate-users] Attaching a dose actor to a wedge-shaped volume</font>
<div> </div>
</div>
<div>
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi Gate users,</p>
<p><br>
</p>
<p>I'm trying to simulate the response of Gafchromic film to protons. I've done this previously using a rectangular volume with the material properties of EBT-3 and essentially produce a 2D voxelised dose output. However, in experiment, I've used a piece of
film that looks almost D-shaped. To replicate this in Gate, I have produced 3 volumes; central rectangular volume that is a box, flanked by two wedges. I've tilted them at 1 degree to the x-axis and I think I've aligned them. Now, I'm struggling to get a sensible
output!</p>
<p><br>
</p>
<p><img naturalheight="495" naturalwidth="639" size="29450" id="img554141" tabindex="0" style="max-width: 99.9%; -moz-user-select: none;" aria-expanded="false" src="cid:395d6c7b-a905-4732-be7a-a89cec651597"><br>
</p>
<p><br>
</p>
<p>If I attach a dose actor to each volume, then I see dose being deposited in the film. The central region is fine, but the two wedge regions confuse me slightly. I've used /gate/actor/[actorname]/setResolution to define the resolution but I'm not sure how
this works with the wedge-shapes. The whole dose matrix is full and there isn't any hint of structure. Should I expect that my dose volume is entirely contained within the film volume? This would mean that the voxels are different sizes.</p>
<p><br>
</p>
<p>Is there a better way of getting a dose actor to read out the film? I tried attatching an actor to the world volume and locating it at the same position as the active layer of the film but got no output!</p>
<p><br>
</p>
<p>Please let me know if I'm doing anything stupid!</p>
<p><br>
</p>
<p>Sam Manger<br>
</p>
<p><br>
</p>
</div>
</div>
</div>
</div>
</body>
</html>