<div dir="ltr"><br><div>should be an issue with volume overlap. It seems from the error message that "SPECThead" is a daughter of "voxPhantom" (and outside), it should not. </div><div><br></div><div>David</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 5, 2016 at 12:33 PM, Francisco Pinto <span dir="ltr"><<a href="mailto:francisco.pinto@surgiceye.com" target="_blank">francisco.pinto@surgiceye.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-GB" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Dear David,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Thank you once more for your assistance and your hint regarding MHD!<u></u><u></u></span></p><span class="">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal">- simulation with vox + source outside the volume (check everything is ok)<u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p>
</span><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">This fails with a descriptive error message:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">-------- EEEE ------- G4Exception-START -------- EEEE -------<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">*** G4Exception : GeomMgt0002<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> issued by : G4SmartVoxelHeader::<wbr>BuildNodes()<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">PANIC! - Overlapping daughter with mother volume.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Daughter physical volume SPECThead_phys<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> is entirely outside mother logical volume voxPhantom_log !!<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">*** Fatal Exception *** core dump ***<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">The source being inside or outside the bounds of the vox phantom leads to the same outcome: the same crash as described in my initial email. Do you
perhaps have further insights?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Thank you very much once more!<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Cheers,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Francisco<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> David Sarrut [mailto:<a href="mailto:David.Sarrut@creatis.insa-lyon.fr" target="_blank">David.Sarrut@creatis.<wbr>insa-lyon.fr</a>]
<br>
<b>Sent:</b> 02 September 2016 08:46<br>
<b>To:</b> Francisco Pinto <<a href="mailto:francisco.pinto@surgiceye.com" target="_blank">francisco.pinto@surgiceye.com</a><wbr>><br>
<b>Cc:</b> <a href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank">gate-users@lists.<wbr>opengatecollaboration.org</a>; Philipp Matthies <<a href="mailto:Philipp.Matthies@surgiceye.com" target="_blank">Philipp.Matthies@surgiceye.<wbr>com</a>><br>
<b>Subject:</b> Re: [Gate-users] Crashing with a detector nested in a vox phantom<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Hello Francisco, <u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">does it works if the volumes do not overlap ? Try step by step:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- simulation with vox + source outside the volume (check everything is ok)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- simulation with vox + source inside the volume (check everything is ok)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- simulation with vox + ouside source + outside spect system (check everything is ok)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- end with your final goal<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">btw, I recommend to use mhd file format rather than hdr (see wiki). <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">David<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Tue, Aug 30, 2016 at 2:10 PM, Francisco Pinto <<a href="mailto:francisco.pinto@surgiceye.com" target="_blank">francisco.pinto@surgiceye.com</a><wbr>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal">Dear fellow Gate users,<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">I am simulating the current scenario:<u></u><u></u></p>
<p class="MsoNormal">- A voxelized phantom defined via a CT dataset in Analyze format.<u></u><u></u></p>
<p class="MsoNormal">- A source placed inside the phantom.<u></u><u></u></p>
<p class="MsoNormal">- A simple detector aiming towards the source.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">I would like to overlap the detector with the CT dataset. To this end, I changed the voxelized phantom to an ImageRegionalizedVolume and made my detector its daughter. Sadly, Gate
crashes. I’ve narrowed this down the crash to GateCrystalSD::FindSystem(<wbr>G4String&) – voxPhantom cannot be found.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">I'm using the latest develop Gate on Ubuntu 16.04, CPU-only single core simulation. All relevant short scripts + CT dataset here (23MB tgz):
<a href="https://drive.google.com/open?id=0BzM9gTEQ3DYybEdvR0RoV3I3bzA" target="_blank">
https://drive.google.com/open?<wbr>id=<wbr>0BzM9gTEQ3DYybEdvR0RoV3I3bzA</a><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Any insights would be much appreciated! Thanks in advance!<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Cheers,<u></u><u></u></p>
<p class="MsoNormal">Francisco<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Francisco Pinto<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Principal Software Engineer
<u></u><u></u></p>
<p class="MsoNormal">SurgicEye GmbH
<u></u><u></u></p>
<p class="MsoNormal">Tel: +49 89 54 99 89 0 - 21<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><br>
______________________________<wbr>_________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank">Gate-users@lists.<wbr>opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank">http://lists.<wbr>opengatecollaboration.org/<wbr>mailman/listinfo/gate-users</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">-- <u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">David Sarrut, Phd<br>
Directeur de recherche CNRS<br>
CREATIS, UMR CNRS 5220, Inserm U1206<u></u><u></u></p>
<div>
<p class="MsoNormal">Centre de lutte contre le cancer Léon Bérard<br>
28 rue Laënnec, 69373 Lyon cedex 08<br>
Tel : <a href="tel:04%2078%2078%2051%2051" value="+33478785151" target="_blank">04 78 78 51 51</a> / <a href="tel:06%2074%2072%2005%2042" value="+33674720542" target="_blank">06 74 72 05 42</a><br>
<a href="http://www.creatis.insa-lyon.fr/~dsarrut" target="_blank">http://www.creatis.insa-lyon.<wbr>fr/~dsarrut</a><br>
______________________________<wbr>___<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> "2 + 2 = 5, for extremely large values of 2"<br>
______________________________<wbr>___<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div></div></div>
</div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">David Sarrut, Phd<br>Directeur de recherche CNRS<br>CREATIS, UMR CNRS 5220, Inserm U1206<div>Centre de lutte contre le cancer Léon Bérard<br>28 rue Laënnec, 69373 Lyon cedex 08<br>Tel : 04 78 78 51 51 / 06 74 72 05 42<br><a href="http://www.creatis.insa-lyon.fr/~dsarrut" target="_blank">http://www.creatis.insa-lyon.fr/~dsarrut</a><br>_________________________________</div><div> "2 + 2 = 5, for extremely large values of 2"<br>_________________________________</div></div></div></div></div></div></div>
</div></div>