[Gate-users] No dose in rotational phantom
Dimitrios Thanasas
dthanas at uoa.gr
Wed Jun 5 11:12:53 CEST 2019
Hi LLKI JJJY,
The reason you get zero dose is that you use dose actor (I think you know
how to use dose actor) with phantomSD commands
> /gate/phantom1/attachPhantomSD
> /gate/Détecteur1/attachPhantomSD
> /gate/Détecteur2/attachPhantomSD
> /gate/Détecteur3/attachPhantomSD
> /gate/Détecteur4/attachPhantomSD
> /gate/Détecteur5/attachPhantomSD
Remove the above commands and you will get dose (different dose actor for
each material).
I test your code (removing these commands) with monoenergetic source and
it is ok.
I think that you cannnot get dose and singles (or hits) at the same time.
Regards,
Dimitris
> Hi Dimitrios, Thaks for your reply
> Here the in put file of my phantom and source if can you please verify if
> it's ok or no
>
>
> /gate/world/daughters/name phantom1
> /gate/world/daughters/insert cylinder
> /gate/phantom1/geometry/setRmax 80. mm
> /gate/phantom1/geometry/setRmin 0. mm
> /gate/phantom1/geometry/setHeight 150. mm
> /gate/phantom1/setMaterial PMMA
> /gate/phantom1/vis/forceWireframe
> /gate/phantom1/vis/setColor red
> /gate/phantom1/vis/setVisible 1
>
> /gate/phantom1/daughters/name Détecteur1
> /gate/phantom1/daughters/insert cylinder
> /gate/Détecteur1/placement/setTranslation 0. 0. 0. mm
> /gate/Détecteur1/geometry/setRmax 6.55 mm
> /gate/Détecteur1/geometry/setRmin 0. mm
> /gate/Détecteur1/geometry/setHeight 100. mm
> /gate/Détecteur1/setMaterial Air
> /gate/Détecteur1/vis/forceSolid
> /gate/Détecteur1/vis/setColor green
> /gate/Détecteur1/vis/setVisible 1
>
> /gate/phantom1/daughters/name Détecteur2
> /gate/phantom1/daughters/insert cylinder
> /gate/Détecteur2/placement/setTranslation 63.45 0. 0. mm
> /gate/Détecteur2/geometry/setRmax 6.55 mm
> /gate/Détecteur2/geometry/setRmin 0. mm
> /gate/Détecteur2/geometry/setHeight 100. mm
> /gate/Détecteur2/setMaterial Air
> /gate/Détecteur2/vis/forceSolid
> /gate/Détecteur2/vis/setColor magenta
> /gate/Détecteur2/vis/setVisible 1
>
>
> /gate/phantom1/daughters/name Détecteur3
> /gate/phantom1/daughters/insert cylinder
> /gate/Détecteur3/placement/setTranslation -63.45 0. 0. mm
> /gate/Détecteur3/geometry/setRmax 6.55 mm
> /gate/Détecteur3/geometry/setRmin 0. mm
> /gate/Détecteur3/geometry/setHeight 100. mm
> /gate/Détecteur3/setMaterial Air
> /gate/Détecteur3/vis/forceSolid
> /gate/Détecteur3/vis/setColor magenta
> /gate/Détecteur3/vis/setVisible 1
>
> /gate/phantom1/daughters/name Détecteur4
> /gate/phantom1/daughters/insert cylinder
> /gate/Détecteur4/placement/setTranslation 0. 63.45 0. mm
> /gate/Détecteur4/geometry/setRmax 6.55 mm
> /gate/Détecteur4/geometry/setRmin 0. mm
> /gate/Détecteur4/geometry/setHeight 100. mm
> /gate/Détecteur4/setMaterial Air
> /gate/Détecteur4/vis/forceSolid
> /gate/Détecteur4/vis/setColor magenta
> /gate/Détecteur4/vis/setVisible 1
>
> /gate/phantom1/daughters/name Détecteur5
> /gate/phantom1/daughters/insert cylinder
> /gate/Détecteur5/placement/setTranslation 0. -63.45 0. mm
> /gate/Détecteur5/geometry/setRmax 6.55 mm
> /gate/Détecteur5/geometry/setRmin 0. mm
> /gate/Détecteur5/geometry/setHeight 100. mm
> /gate/Détecteur5/setMaterial Air
> /gate/Détecteur5/vis/forceSolid
> /gate/Détecteur5/vis/setColor magenta
> /gate/Détecteur5/vis/setVisible 1
>
> /gate/phantom1/attachPhantomSD
> /gate/Détecteur1/attachPhantomSD
> /gate/Détecteur2/attachPhantomSD
> /gate/Détecteur3/attachPhantomSD
> /gate/Détecteur4/attachPhantomSD
> /gate/Détecteur5/attachPhantomSD
> /gate/phantom1/placement/alignToX
>
> /gate/world/daughters/name collimator
> /gate/world/daughters/insert box
> /gate/collimator/geometry/setXLength 10 cm
> /gate/collimator/geometry/setYLength 1 cm
> /gate/collimator/geometry/setZLength 20 cm
> /gate/collimator/placement/setTranslation 5.5 34. 0. cm
> /gate/collimator/setMaterial Lead
> /gate/collimator/vis/setColor red
> /gate/collimator/vis/setVisible 1
> /gate/collimator/vis/forceSolid
> /gate/collimator/attachPhantomSD
>
> /gate/world/daughters/name collimator2
> /gate/world/daughters/insert box
> /gate/collimator2/geometry/setXLength 10 cm
> /gate/collimator2/geometry/setYLength 1 cm
> /gate/collimator2/geometry/setZLength 20 cm
> /gate/collimator2/placement/setTranslation -5.5 34. 0. cm
> /gate/collimator2/setMaterial Lead
> /gate/collimator2/vis/setColor red
> /gate/collimator2/vis/setVisible 1
> /gate/collimator2/vis/forceSolid
> /gate/collimator2/attachPhantomSD
>
>
> /gate/world/daughters/name table
> /gate/world/daughters/insert box
> /gate/table/geometry/setXLength 40 cm
> /gate/table/geometry/setYLength 1 cm
> /gate/table/geometry/setZLength 40 cm
> /gate/table/placement/setTranslation 0. -9. 0. cm
> /gate/table/setMaterial Lead
> /gate/table/vis/setColor blue
> /gate/table/vis/setVisible 1
> /gate/table/vis/forceSolid
>
> /gate/phantom1/moves/insert rotation
> /gate/phantom1/rotation/setSpeed 360 deg/s
> /gate/phantom1/rotation/setAxis 0 0 1
>
>
> #Souce
>
>
> /gate/source/xraygun/gps/emin 14.00 keV
> /gate/source/xraygun/gps/emax 140.00 keV
> /gate/source/xraygun/gps/histpoint 0.0140 122
> /gate/source/xraygun/gps/histpoint 0.0150 980
> /gate/source/xraygun/gps/histpoint 0.0160 5017
> /gate/source/xraygun/gps/histpoint 0.0170 17905
> /gate/source/xraygun/gps/histpoint 0.0180 49413
> /gate/source/xraygun/gps/histpoint 0.0190 112406
> /gate/source/xraygun/gps/histpoint 0.0200 219476
> /gate/source/xraygun/gps/histpoint 0.0210 378125
> /gate/source/xraygun/gps/histpoint 0.0220 596888
> /gate/source/xraygun/gps/histpoint 0.0230 868155
> /gate/source/xraygun/gps/histpoint 0.0240 1190777
> /gate/source/xraygun/gps/histpoint 0.0250 1542648
> /gate/source/xraygun/gps/histpoint 0.0260 1924280
> /gate/source/xraygun/gps/histpoint 0.0270 2303832
> /gate/source/xraygun/gps/histpoint 0.0280 2709762
> /gate/source/xraygun/gps/histpoint 0.0290 3072870
> /gate/source/xraygun/gps/histpoint 0.0300 3425328
> /gate/source/xraygun/gps/histpoint 0.0310 3750565
> /gate/source/xraygun/gps/histpoint 0.0320 4046723
> /gate/source/xraygun/gps/histpoint 0.0330 4311445
> /gate/source/xraygun/gps/histpoint 0.0340 4552026
> /gate/source/xraygun/gps/histpoint 0.0350 4751283
> /gate/source/xraygun/gps/histpoint 0.0360 4917358
> /gate/source/xraygun/gps/histpoint 0.0370 5058068
> /gate/source/xraygun/gps/histpoint 0.0380 5171683
> /gate/source/xraygun/gps/histpoint 0.0390 5254408
> /gate/source/xraygun/gps/histpoint 0.0400 5318922
> /gate/source/xraygun/gps/histpoint 0.0410 5358471
> /gate/source/xraygun/gps/histpoint 0.0420 5383332
> /gate/source/xraygun/gps/histpoint 0.0430 5389635
> /gate/source/xraygun/gps/histpoint 0.0440 5382533
> /gate/source/xraygun/gps/histpoint 0.0450 5358434
> /gate/source/xraygun/gps/histpoint 0.0460 5325508
> /gate/source/xraygun/gps/histpoint 0.0470 5280775
> /gate/source/xraygun/gps/histpoint 0.0480 5231012
> /gate/source/xraygun/gps/histpoint 0.0490 5170633
> /gate/source/xraygun/gps/histpoint 0.0500 5104677
> /gate/source/xraygun/gps/histpoint 0.0510 5034519
> /gate/source/xraygun/gps/histpoint 0.0520 4953734
> /gate/source/xraygun/gps/histpoint 0.0530 4875904
> /gate/source/xraygun/gps/histpoint 0.0540 4794188
> /gate/source/xraygun/gps/histpoint 0.0550 4712817
> /gate/source/xraygun/gps/histpoint 0.0560 4623084
> /gate/source/xraygun/gps/histpoint 0.0570 4536238
> /gate/source/xraygun/gps/histpoint 0.0580 17236230
> /gate/source/xraygun/gps/histpoint 0.0590 26748060
> /gate/source/xraygun/gps/histpoint 0.0600 4273324
> /gate/source/xraygun/gps/histpoint 0.0610 4184046
> /gate/source/xraygun/gps/histpoint 0.0620 4095211
> /gate/source/xraygun/gps/histpoint 0.0630 4005649
> /gate/source/xraygun/gps/histpoint 0.0640 3920718
> /gate/source/xraygun/gps/histpoint 0.0650 3832096
> /gate/source/xraygun/gps/histpoint 0.0660 3747174
> /gate/source/xraygun/gps/histpoint 0.0670 11293400
> /gate/source/xraygun/gps/histpoint 0.0680 3578137
> /gate/source/xraygun/gps/histpoint 0.0690 5498990
> /gate/source/xraygun/gps/histpoint 0.0700 3134942
> /gate/source/xraygun/gps/histpoint 0.0710 3069274
> /gate/source/xraygun/gps/histpoint 0.0720 3006057
> /gate/source/xraygun/gps/histpoint 0.0730 2945854
> /gate/source/xraygun/gps/histpoint 0.0740 2883220
> /gate/source/xraygun/gps/histpoint 0.0750 2822486
> /gate/source/xraygun/gps/histpoint 0.0760 2761549
> /gate/source/xraygun/gps/histpoint 0.0770 2700834
> /gate/source/xraygun/gps/histpoint 0.0780 2641713
> /gate/source/xraygun/gps/histpoint 0.0790 2582953
> /gate/source/xraygun/gps/histpoint 0.0800 2524296
> /gate/source/xraygun/gps/histpoint 0.0810 2466687
> /gate/source/xraygun/gps/histpoint 0.0820 2410696
> /gate/source/xraygun/gps/histpoint 0.0830 2354375
> /gate/source/xraygun/gps/histpoint 0.0840 2299583
> /gate/source/xraygun/gps/histpoint 0.0850 2244295
> /gate/source/xraygun/gps/histpoint 0.0860 2190528
> /gate/source/xraygun/gps/histpoint 0.0870 2138709
> /gate/source/xraygun/gps/histpoint 0.0880 2085845
> /gate/source/xraygun/gps/histpoint 0.0890 2034065
> /gate/source/xraygun/gps/histpoint 0.0900 1984205
> /gate/source/xraygun/gps/histpoint 0.0910 1933657
> /gate/source/xraygun/gps/histpoint 0.0920 1884935
> /gate/source/xraygun/gps/histpoint 0.0930 1836697
> /gate/source/xraygun/gps/histpoint 0.0940 1788705
> /gate/source/xraygun/gps/histpoint 0.0950 1742450
> /gate/source/xraygun/gps/histpoint 0.0960 1696147
> /gate/source/xraygun/gps/histpoint 0.0970 1650313
> /gate/source/xraygun/gps/histpoint 0.0980 1606501
> /gate/source/xraygun/gps/histpoint 0.0990 1561786
> /gate/source/xraygun/gps/histpoint 0.1000 1518657
> /gate/source/xraygun/gps/histpoint 0.1010 1476368
> /gate/source/xraygun/gps/histpoint 0.1020 1433826
> /gate/source/xraygun/gps/histpoint 0.1030 1392193
> /gate/source/xraygun/gps/histpoint 0.1040 1351939
> /gate/source/xraygun/gps/histpoint 0.1050 1311165
> /gate/source/xraygun/gps/histpoint 0.1060 1271577
> /gate/source/xraygun/gps/histpoint 0.1070 1232500
> /gate/source/xraygun/gps/histpoint 0.1080 1193510
> /gate/source/xraygun/gps/histpoint 0.1090 1155594
> /gate/source/xraygun/gps/histpoint 0.1100 1118042
> /gate/source/xraygun/gps/histpoint 0.1110 1080942
> /gate/source/xraygun/gps/histpoint 0.1120 1044587
> /gate/source/xraygun/gps/histpoint 0.1130 1008201
> /gate/source/xraygun/gps/histpoint 0.1140 972239
> /gate/source/xraygun/gps/histpoint 0.1150 937491
> /gate/source/xraygun/gps/histpoint 0.1160 901995
> /gate/source/xraygun/gps/histpoint 0.1170 867367
> /gate/source/xraygun/gps/histpoint 0.1180 833277
> /gate/source/xraygun/gps/histpoint 0.1190 798911
> /gate/source/xraygun/gps/histpoint 0.1200 765479
> /gate/source/xraygun/gps/histpoint 0.1210 731901
> /gate/source/xraygun/gps/histpoint 0.1220 698360
> /gate/source/xraygun/gps/histpoint 0.1230 665684
> /gate/source/xraygun/gps/histpoint 0.1240 632428
> /gate/source/xraygun/gps/histpoint 0.1250 599527
> /gate/source/xraygun/gps/histpoint 0.1260 567323
> /gate/source/xraygun/gps/histpoint 0.1270 534109
> /gate/source/xraygun/gps/histpoint 0.1280 501550
> /gate/source/xraygun/gps/histpoint 0.1290 469473
> /gate/source/xraygun/gps/histpoint 0.1300 436006
> /gate/source/xraygun/gps/histpoint 0.1310 403253
> /gate/source/xraygun/gps/histpoint 0.1320 369909
> /gate/source/xraygun/gps/histpoint 0.1330 333830
> /gate/source/xraygun/gps/histpoint 0.1340 298802
> /gate/source/xraygun/gps/histpoint 0.1350 264219
> /gate/source/xraygun/gps/histpoint 0.1360 229811
> /gate/source/xraygun/gps/histpoint 0.1370 196224
> /gate/source/xraygun/gps/histpoint 0.1380 134451
> /gate/source/xraygun/gps/histpoint 0.1390 66300
> /gate/source/xraygun/gps/histpoint 0.1400 0
> /gate/source/xraygun/gps/arbint Lin
> /gate/source/list
>
>
> ________________________________
> De : Dimitrios Thanasas <dthanas at uoa.gr>
> Envoyé : dimanche 2 juin 2019 20:23
> À : LLKI JJJY
> Cc : gate-users at lists.opengatecollaboration.org
> Objet : Re: [Gate-users] No dose in rotational phantom
>
> It would be helpful to see the input file.
> Is the phantom very small and the energy very high?
>
> D.T.
>
>> Hello everyone,
>>
>> Please I want to calculate the dose in water pahntom for a rotational X
>> ray source, So I made the rotation moving in the phantom but I haven't
>> got
>> dose value on my output file I get 0. Please if have you an idea.
>> Thanks
>>
>> _______________________________________________
>> Gate-users mailing list
>> Gate-users at lists.opengatecollaboration.org
>> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>
>
>
More information about the Gate-users
mailing list