<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<STYLE>
BLOCKQUOTE {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
BODY {
LINE-HEIGHT: 1.5; FONT-FAMILY: ËÎÌå; COLOR: #000000; FONT-SIZE: 10.5pt
}
P {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>
<META name=GENERATOR content="MSHTML 8.00.7600.16385"></HEAD>
<BODY style="MARGIN: 10px">
<DIV>Hi, Thibault:</DIV>
<DIV> </DIV>
<DIV>Thanks for your kind reply. I have used the command:
/gate/NCAT/setSkipEqualMaterials 0 as you suggested, but I got "1 1 1 1 1 1
1 1 1 ... " in file PhantomDose-Dose-Uncertainty.txt. It seems worse than NaN
issue. I do not know what is wrong. Do you have any other
suggestion? Thanks in advance. </DIV>
<DIV> </DIV>
<DIV>Looking forward to hearing from you. </DIV>
<DIV> </DIV>
<DIV>Regards,</DIV>
<HR style="WIDTH: 210px; HEIGHT: 1px" align=left color=#b5c4df SIZE=1>
<DIV><SPAN>Janus</SPAN></DIV>
<DIV> </DIV>
<DIV
style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0cm; PADDING-LEFT: 0cm; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"> </DIV>
<DIV>
<DIV> </DIV>
<DIV>Message: 2</DIV>
<DIV>Date: Fri, 19 Apr 2013 09:58:21 +0200</DIV>
<DIV>From: Thibault Mauxion <thibault_mauxion@hotmail.com></DIV>
<DIV>To: Janus <nxchu@foxmail.com>, gate-users</DIV>
<DIV><gate-users@lists.opengatecollaboration.org></DIV>
<DIV>Subject: Re: [Gate-users] NaN errors on some pixels of regularMatrix</DIV>
<DIV>phantom in CTScanner system</DIV>
<DIV>Message-ID: <DUB113-W841894178357953C80E70DE2C80@phx.gbl></DIV>
<DIV>Content-Type: text/plain; charset="iso-8859-1"</DIV>
<DIV> </DIV>
<DIV>Hi, I'm far from an expert but try to add the command :</DIV>
<DIV>/gate/nameofyourregularMatrixvolume/setSkipEqualMaterials 0</DIV>
<DIV>at the end of the geometry macro, after you define your volume. </DIV>
<DIV>Hope this will help..</DIV>
<DIV>Tibo </DIV>
<DIV>Date: Fri, 19 Apr 2013 09:23:55 +0800</DIV>
<DIV>From: nxchu@foxmail.com</DIV>
<DIV>To: gate-users@lists.opengatecollaboration.org</DIV>
<DIV>Subject: [Gate-users] NaN errors on some pixels of regularMatrix phantom in
CTScanner system</DIV>
<DIV> </DIV>
<DIV>Dear Gate users, </DIV>
<DIV> </DIV>
<DIV>I attached an DoseActor to the regularMatrix phantom on a CTScanner system. </DIV>
<DIV>The following macros show how I collect dose:</DIV>
<DIV>/gate/actor/addActor DoseActor </DIV>
<DIV>mActor</DIV>
<DIV> </DIV>
<DIV>/gate/actor/mActor/save </DIV>
<DIV>./output/PhantomDose.txt</DIV>
<DIV>/gate/actor/mActor/attachTo NCAT #the name of my </DIV>
<DIV>regularMatrix phantom</DIV>
<DIV>/gate/actor/mActor/enableEdep false</DIV>
<DIV>/gate/actor/mActor/enableUncertaintyEdep </DIV>
<DIV>false</DIV>
<DIV>/gate/actor/mActor/enableSquaredEdep </DIV>
<DIV>false</DIV>
<DIV>/gate/actor/mActor/enableDose true</DIV>
<DIV>/gate/actor/mActor/enableUncertaintyDose </DIV>
<DIV>true</DIV>
<DIV>/gate/actor/mActor/normaliseDose false</DIV>
<DIV>/gate/actor/mActor/setResolution 72 88 63 #the pixel size is the </DIV>
<DIV>same with the size of regularMatrix</DIV>
<DIV> </DIV>
<DIV>After the simulation (more than 10^7 events), I got the output file </DIV>
<DIV>"PhantomDose-Dose-Uncertainty.txt" that I expected. However, I found some </DIV>
<DIV>NaN value in the file. It looks like: </DIV>
<DIV> </DIV>
<DIV>0.335632 nan 0.283809 0.277518 0.311712 0.232881 nan nan nan </DIV>
<DIV>0.14158 nan nan nan 0.11352 0.118089 nan nan nan nan 0.117827 nan nan 0.111348 </DIV>
<DIV>nan nan 0.114444 nan 0.120727 0.112061 nan nan nan nan nan nan nan nan 0.114227 </DIV>
<DIV>nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan 0.112236 nan nan </DIV>
<DIV>0.116712 nan nan nan nan nan nan 0.0982464 nan 0.695156 0.736034 0.694313 </DIV>
<DIV>0.501348 0.876738 0.593643 0.684897 </DIV>
<DIV>0.387904 0.308451 0.292645 0.307023 0.274505 0.196699 nan 0.125794 </DIV>
<DIV>0.119966 0.122969 nan 0.0921764 nan nan 0.116727 nan nan nan nan 0.121635 nan </DIV>
<DIV>nan 0.089028 nan nan nan 0.115871 0.110041 0.120644 nan nan nan nan nan nan </DIV>
<DIV>0.113381 nan nan nan 0.115092 0.109492 nan nan nan nan nan nan nan 0.122921 nan </DIV>
<DIV>nan nan nan nan nan nan nan 0.110586 nan nan 0.103074 nan nan nan nan 1 0.712306 </DIV>
<DIV>0.555066 0.52936 0.792737 0.498393 0.627436 </DIV>
<DIV> </DIV>
<DIV>Please can any expert tell me why I got these errors? </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Any suggestions or comments will be sincerely appreciated.</DIV>
<DIV> </DIV>
<DIV>Best regards,</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Janus</DIV>
<DIV> </DIV>
<DIV>_______________________________________________</DIV>
<DIV>Gate-users mailing list</DIV>
<DIV>Gate-users@lists.opengatecollaboration.org</DIV>
<DIV>http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
</DIV>
<DIV>-------------- next part --------------</DIV>
<DIV>An HTML attachment was scrubbed...</DIV>
<DIV>URL: <A
href="http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20130419/55957f24/attachment-0001.html">http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20130419/55957f24/attachment-0001.html</A></DIV>
<DIV> </DIV>
<DIV>------------------------------</DIV>
<DIV> </DIV>
<DIV> </DIV></DIV></BODY></HTML>