[Gate-users] Trying to write a curved CT scanner
Karl Spuhler
karl.spuhler at stonybrook.edu
Fri Jan 9 02:46:55 CET 2015
Hello all,
I am trying to adapt the scanner system used in the exampleCT/fast template
to a curved system. I am currently creating an arc shape using a portion of
a cylinder and then attempting to attach a module on top of this as such
shown below in my code. Unfortunately this is not working. Does anyone have
a working template for a curved scanner? Ideally one where I could change
the resolution using a command for the number of pixels in the x,y
directions or know how I could achieve such a thing?
#############
##CTscanner##
#############
/gate/world/daughters/name CTscanner
/gate/world/daughters/insert cylinder
/gate/CTscanner/setMaterial Air
/gate/CTscanner/vis/setColor cyan
/gate/CTscanner/geometry/setRmax 100 cm
/gate/CTscanner/geometry/setRmin 99 cm
/gate/CTscanner/geometry/setHeight 6. cm
/gate/CTscanner/geometry/setPhiStart 65 deg
/gate/CTscanner/geometry/setDeltaPhi 50 deg
/gate/CTscanner/placement/setTranslation 0. 0. 50. cm
/gate/CTscanner/placement/alignToY
/gate/CTscanner/vis/forceSolid
/gate/CTscanner/vis/setVisible 1
############
###MODULE###
############
/gate/CTscanner/daughters/name module
/gate/CTscanner/daughters/insert cylinder
/gate/module/geometry/setRmax 100 cm
/gate/module/geometry/setRmin 99 cm
/gate/module/geometry/setHeight 6. cm
/gate/module/geometry/setPhiStart 65 deg
/gate/module/geometry/setDeltaPhi 50 deg
/gate/module/setMaterial Silicon
/gate/module/vis/forceWireframe
/gate/module/vis/setColor white
#ATTACH SYSTEM
/gate/systems/CTscanner/module/attach module
#ATTACH LAYER
/gate/module/attachCrystalSD
--
Karl Spuhler
SUNY Stony Brook
PhD Student
(845)249-6836
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20150108/77c6fa38/attachment.html>
More information about the Gate-users
mailing list