<div>Hi All,</div>
<div> </div>
<div>Is there anybody  know how to define the sources for a Derenzo-like resolution phantom created with quadrant  repeaters by using GATE?<br clear="all"></div>
<div></div><br>I used macro below, but it gives error messages like<br><br>  volume you originally specified in /vis/scene/add/.<br>***** Illegal application state &lt;/gate/source/addSource rods1&gt; *****<br><br>***** Batch is interupted!! *****<br>
<br>What is wrong with this?<br><br>How should I define the sources in a correct way ?<br><br>Thank you for any kind of help and information in advance.<br><br>Regards,<br><br><br>#Mini_Derenzo Phantom<br><br>#-------------- next part --------------<br>
/gate/world/daughters/name Derenzo<br>/gate/world/daughters/insert cylinder<br>/gate/Derenzo/geometry/setRmax 3.6 cm<br>/gate/Derenzo/geometry/setHeight 2. cm<br>/gate/Derenzo/setMaterial Air<br>/gate/Derenzo/vis/forceWireframe<br>
<br>/vis/viewer/set/viewpointThetaPhi 0 0 deg<br><br>/gate/Derenzo/daughters/name rods1<br>/gate/Derenzo/daughters/insert cylinder<br>/gate/rods1/geometry/setRmax 0.75 mm<br>/gate/rods1/geometry/setHeight 2. cm<br>/gate/Derenzo/setMaterial Air<br>
/gate/rods1/placement/setTranslation 7.5 0. 0. mm<br>/gate/rods1/placement/setPhiOfTranslation 30. deg<br>/gate/rods1/repeaters/insert quadrant<br>/gate/rods1/quadrant/setCopySpacing 3. mm<br>/gate/rods1/quadrant/setOrientation 30. deg<br>
/gate/rods1/quadrant/setLineNumber 10<br>/gate/rods1/quadrant/setMaxRange 26.5 mm<br><br>/gate/Derenzo/daughters/name rods2<br>/gate/Derenzo/daughters/insert cylinder<br>/gate/rods2/geometry/setRmax 1.0 mm<br>/gate/rods2/geometry/setHeight 2. cm<br>
/gate/Derenzo/setMaterial Air<br>/gate/rods2/placement/setTranslation 7.5 0. 0. mm<br>/gate/rods2/placement/setPhiOfTranslation 90. deg<br>/gate/rods2/repeaters/insert quadrant<br>/gate/rods2/quadrant/setCopySpacing 4. mm<br>
/gate/rods2/quadrant/setOrientation 90. deg<br>/gate/rods2/quadrant/setLineNumber 8<br>/gate/rods2/quadrant/setMaxRange 26.5 mm<br><br>/gate/Derenzo/daughters/name rods3<br>/gate/Derenzo/daughters/insert cylinder<br>/gate/rods3/geometry/setRmax 1.25 mm<br>
/gate/rods3/geometry/setHeight 2. cm<br>/gate/Derenzo/setMaterial Air<br>/gate/rods3/placement/setTranslation 7.5 0. 0. mm<br>/gate/rods3/placement/setPhiOfTranslation 150. deg<br>/gate/rods3/repeaters/insert quadrant<br>
/gate/rods3/quadrant/setCopySpacing 5. mm<br>/gate/rods3/quadrant/setOrientation 150. deg<br>/gate/rods3/quadrant/setLineNumber 6<br>#/gate/rods3/quadrant/setMaxRange 26.5 mm<br><br>/gate/Derenzo/daughters/name rods4<br>/gate/Derenzo/daughters/insert cylinder<br>
/gate/rods4/geometry/setRmax 1.5 mm<br>/gate/rods4/geometry/setHeight 2. cm<br>/gate/Derenzo/setMaterial Air<br>/gate/rods4/placement/setTranslation 7.5 0. 0. mm<br>/gate/rods4/placement/setPhiOfTranslation 210. deg<br>/gate/rods4/repeaters/insert quadrant<br>
/gate/rods4/quadrant/setCopySpacing 6. mm<br>/gate/rods4/quadrant/setOrientation 210. deg<br>/gate/rods4/quadrant/setLineNumber 5<br>/gate/rods4/quadrant/setMaxRange 26.5 mm<br><br>/gate/Derenzo/daughters/name rods5<br>/gate/Derenzo/daughters/insert cylinder<br>
/gate/rods5/geometry/setRmax 1.75 mm<br>/gate/rods5/geometry/setHeight 2. cm<br>/gate/Derenzo/setMaterial Air<br>/gate/rods5/placement/setTranslation 7.5 0. 0. mm<br>/gate/rods5/placement/setPhiOfTranslation 270. deg<br>/gate/rods5/repeaters/insert quadrant<br>
/gate/rods5/quadrant/setCopySpacing 7. mm<br>/gate/rods5/quadrant/setOrientation 270. deg<br>/gate/rods5/quadrant/setLineNumber 5<br>/gate/rods5/quadrant/setMaxRange 26.5 mm<br><br>/gate/Derenzo/daughters/name rods6<br>/gate/Derenzo/daughters/insert cylinder<br>
/gate/rods6/geometry/setRmax 2. mm<br>/gate/rods6/geometry/setHeight 2. cm<br>/gate/Derenzo/setMaterial Air<br>/gate/rods6/placement/setTranslation 7.5 0. 0. mm<br>/gate/rods6/placement/setPhiOfTranslation 330. deg<br>/gate/rods6/repeaters/insert quadrant<br>
/gate/rods6/quadrant/setCopySpacing 8. mm<br>/gate/rods6/quadrant/setOrientation 330. deg<br>/gate/rods6/quadrant/setLineNumber 4<br>#/gate/rods6/quadrant/setMaxRange 23. mm<br><br>#-------------- next part --------------<br>
<br>/gate/source/addSource rods1<br>/gate/source/rods1/setActivity     50000000. Bq<br>/gate/source/rods1/gps/particle    gamma<br>/gate/source/rods1/gps/energy      140 keV<br>/gate/source/rods1/gps/angtype     iso<br>/gate/source/rods1/gps/type        Volume<br>
/gate/source/rods1/gps/shape       Cylinder<br>/gate/source/rods1/gps/radius      3.6 cm<br>/gate/source/rods1/gps/halfz         1.0 cm<br>/gate/source/rods1/gps/centre      0. 0. 0. mm<br>/gate/source/rods1/gps/confine     rods1_P<br>
/gate/source/rods1/gps/mintheta     79. deg<br>/gate/source/rods1/gps/maxtheta    101. deg<br>/gate/source/rods1/gps/minphi        0  deg<br>/gate/source/rods1/gps/maxphi      360. deg<br>/gate/source/list<br><br>/gate/source/addSource             rods2<br>
/gate/source/rods2/setActivity     50000000. Bq<br>/gate/source/rods2/gps/particle    gamma<br>/gate/source/rods2/gps/energy      140 keV<br>/gate/source/rods2/gps/angtype     iso<br>/gate/source/rods2/gps/type        Volume<br>
/gate/source/rods2/gps/shape       Cylinder<br>/gate/source/rods2/gps/radius      3.6 cm<br>/gate/source/rods2/gps/halfz         1.0 cm<br>/gate/source/rods2/gps/centre      0. 0. 0. mm<br>/gate/source/rods2/gps/confine     rods2_P<br>
/gate/source/rods2/gps/mintheta     79. deg<br>/gate/source/rods2/gps/maxtheta    101. deg<br>/gate/source/rods2/gps/minphi        0  deg<br>/gate/source/rods2/gps/maxphi      360. deg<br>/gate/source/list<br><br>/gate/source/addSource             rods3<br>
/gate/source/rods3/setActivity     50000000. Bq<br>/gate/source/rods3/gps/particle    gamma<br>/gate/source/rods3/gps/energy      140 keV<br>/gate/source/rods3/gps/angtype     iso<br>/gate/source/rods3/gps/type        Volume<br>
/gate/source/rods3/gps/shape       Cylinder<br>/gate/source/rods3/gps/radius      3.6 cm<br>/gate/source/rods3/gps/halfz         1.0 cm<br>/gate/source/rods3/gps/centre      0. 0. 0. mm<br>/gate/source/rods3/gps/confine     rods3_P<br>
/gate/source/rods3/gps/mintheta     79. deg<br>/gate/source/rods3/gps/maxtheta    101. deg<br>/gate/source/rods3/gps/minphi        0  deg<br>/gate/source/rods3/gps/maxphi      360. deg<br>/gate/source/list<br><br>/gate/source/addSource             rods4<br>
/gate/source/rods4/setActivity     50000000. Bq<br>/gate/source/rods4/gps/particle    gamma<br>/gate/source/rods4/gps/energy      140 keV<br>/gate/source/rods4/gps/angtype     iso<br>/gate/source/rods4/gps/type        Volume<br>
/gate/source/rods4/gps/shape       Cylinder<br>/gate/source/rods4/gps/radius      3.6 cm<br>/gate/source/rods4/gps/halfz         1.0 cm<br>/gate/source/rods4/gps/centre      0. 0. 0. mm<br>/gate/source/rods4/gps/confine     rods4_P<br>
/gate/source/rods4/gps/mintheta     79. deg<br>/gate/source/rods4/gps/maxtheta    101. deg<br>/gate/source/rods4/gps/minphi        0  deg<br>/gate/source/rods4/gps/maxphi      360. deg<br>/gate/source/list<br><br><br>/gate/source/addSource             rods5<br>
/gate/source/rods5/setActivity     50000000. Bq<br>/gate/source/rods5/gps/particle    gamma<br>/gate/source/rods5/gps/energy      140 keV<br>/gate/source/rods5/gps/angtype     iso<br>/gate/source/rods5/gps/type        Volume<br>
/gate/source/rods5/gps/shape       Cylinder<br>/gate/source/rods5/gps/radius      3.6 cm<br>/gate/source/rods5/gps/halfz         1.0 cm<br>/gate/source/rods5/gps/centre      0. 0. 0. mm<br>/gate/source/rods5/gps/confine     rods5_P<br>
/gate/source/rods5/gps/mintheta     79. deg<br>/gate/source/rods5/gps/maxtheta    101. deg<br>/gate/source/rods5/gps/minphi        0  deg<br>/gate/source/rods5/gps/maxphi      360. deg<br>/gate/source/list<br><br>/gate/source/addSource             rods6<br>
/gate/source/rods6/setActivity     50000000. Bq<br>/gate/source/rods6/gps/particle    gamma<br>/gate/source/rods6/gps/energy      140 keV<br>/gate/source/rods6/gps/angtype     iso<br>/gate/source/rods6/gps/type        Volume<br>
/gate/source/rods6/gps/shape       Cylinder<br>/gate/source/rods6/gps/radius      3.6 cm<br>/gate/source/rods6/gps/halfz         1.0 cm<br>/gate/source/rods6/gps/centre      0. 0. 0. mm<br>/gate/source/rods6/gps/confine     rods6_P<br>
/gate/source/rods6/gps/mintheta     79. deg<br>/gate/source/rods6/gps/maxtheta    101. deg<br>/gate/source/rods6/gps/minphi        0  deg<br>/gate/source/rods6/gps/maxphi      360. deg<br>/gate/source/list<br><br>/vis/viewer/zoom 2<br>
<br><br><br>-- <br>Sebnem Erturk<br>University of Pisa<br>Applied Physics Dpt.<br>Largo Pontecorvo<br>56127 Pisa-Italy<br>Office :0039 050 2214346<br>Mobile :0039 345 3331440<br><a href="http://www.df.unipi.it/%7Efiig/" target="_blank">http://www.df.unipi.it/~fiig/</a><br>