[Gate-users] NaN errors on some pixels of regularMatrix phantom in CTScanner system

Thibault Mauxion thibault_mauxion at hotmail.com
Fri Apr 19 09:58:21 CEST 2013


Hi, I'm far from an expert but try to add the command :
/gate/nameofyourregularMatrixvolume/setSkipEqualMaterials 0
at the end of the geometry macro, after you define your volume. 
Hope this will help..
Tibo 
Date: Fri, 19 Apr 2013 09:23:55 +0800
From: nxchu at foxmail.com
To: gate-users at lists.opengatecollaboration.org
Subject: [Gate-users] NaN errors on some pixels of regularMatrix phantom in	CTScanner system








Dear Gate users, 
 
I attached an DoseActor to the regularMatrix phantom on a CTScanner system. 
The following macros show how I collect dose:
/gate/actor/addActor DoseActor 
mActor

/gate/actor/mActor/save 
./output/PhantomDose.txt
/gate/actor/mActor/attachTo NCAT #the name of my 
regularMatrix phantom
/gate/actor/mActor/enableEdep false
/gate/actor/mActor/enableUncertaintyEdep 
false
/gate/actor/mActor/enableSquaredEdep 
false
/gate/actor/mActor/enableDose true
/gate/actor/mActor/enableUncertaintyDose 
true
/gate/actor/mActor/normaliseDose false
/gate/actor/mActor/setResolution 72 88 63 #the pixel size is the 
same with the size of regularMatrix
 
After the simulation (more than 10^7 events), I got the output file 
"PhantomDose-Dose-Uncertainty.txt" that I expected. However, I found some 
NaN value in the file. It looks like: 

0.335632 nan 0.283809 0.277518 0.311712 0.232881 nan nan nan 
0.14158 nan nan nan 0.11352 0.118089 nan nan nan nan 0.117827 nan nan 0.111348 
nan nan 0.114444 nan 0.120727 0.112061 nan nan nan nan nan nan nan nan 0.114227 
nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan 0.112236 nan nan 
0.116712 nan nan nan nan nan nan 0.0982464 nan 0.695156 0.736034 0.694313 
0.501348 0.876738 0.593643 0.684897 
0.387904 0.308451 0.292645 0.307023 0.274505 0.196699 nan 0.125794 
0.119966 0.122969 nan 0.0921764 nan nan 0.116727 nan nan nan nan 0.121635 nan 
nan 0.089028 nan nan nan 0.115871 0.110041 0.120644 nan nan nan nan nan nan 
0.113381 nan nan nan 0.115092 0.109492 nan nan nan nan nan nan nan 0.122921 nan 
nan nan nan nan nan nan nan 0.110586 nan nan 0.103074 nan nan nan nan 1 0.712306 
0.555066 0.52936 0.792737 0.498393 0.627436 
 
Please can any expert tell me why I got these errors? 

 
Any suggestions or comments will be sincerely appreciated.
 
Best regards,


Janus

_______________________________________________
Gate-users mailing list
Gate-users at lists.opengatecollaboration.org
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20130419/55957f24/attachment.html>


More information about the Gate-users mailing list