[Gate-users] pixelate crystal in spect
Matthew Strugari
matthew.strugari at dal.ca
Thu Aug 15 17:16:20 CEST 2019
Hi Asra,
Could you include a macro file with more information? As Sveta suggested, you should have the following lines in your macro
gate/SPECThead/daughters/name crystal
/gate/SPECThead/daughters/insert box
/gate/crystal/geometry/setXLength 9.5 mm
/gate/crystal/geometry/setYLength 387 mm
/gate/crystal/geometry/setZLength 533 mm
/gate/crystal/placement/setTranslation -20.95 0 0 mm
/gate/crystal/setMaterial NaI
# Include these lines to attach the scintillation crystal to the detection level of the SPECThead system and attach the crystal as a sensitive detector
/gate/systems/SPECThead/crystal/attach crystal # monolithic crystal
/gate/crystal/attachCrystalSD
# Update these lines to reflect your desired 256x256 matrix sized to your crystal
/gate/output/projection/enable
/gate/output/projection/setFileName resolution
/gate/output/projection/pixelSizeX 1.512 mm
/gate/output/projection/pixelSizeY 2.083 mm
/gate/output/projection/pixelNumberX 256
/gate/output/projection/pixelNumberY 256
# Specify the projection plane (XY, YZ or ZX)
##
/gate/output/projection/projectionPlane YZ
Cheers,
Matthew
________________________________
From: Gate-users <gate-users-bounces at lists.opengatecollaboration.org> on behalf of Sveta <sveta at txcorp.com>
Sent: August 15, 2019 7:46 AM
To: Asra Talebi <asra.talebi at modares.ac.ir>
Cc: gate-users at lists.opengatecollaboration.org <gate-users at lists.opengatecollaboration.org>
Subject: Re: [Gate-users] pixelate crystal in spect
Should you use the “attach” command as well?
iSveta
On Aug 15, 2019, at 6:44 AM, Asra Talebi <asra.talebi at modares.ac.ir<mailto:asra.talebi at modares.ac.ir>> wrote:
Hello
I simulate a spect system. the dimensions of crystal is 9.5*387*533. i try setting the pixel size of image(256*256) with crystal's dimensions. any variation in pixel size in out put file cause code not to run.
do you have any idea for solving it??
thanks
gate/SPECThead/daughters/name crystal
/gate/SPECThead/daughters/insert box
/gate/crystal/geometry/setXLength 9.5 mm
/gate/crystal/geometry/setYLength 387 mm
/gate/crystal/geometry/setZLength 533 mm
/gate/crystal/placement/setTranslation -20.95 0 0 mm
/gate/crystal/setMaterial NaI
#########
default output file
/gate/output/projection/enable
/gate/output/projection/setFileName resolution
/gate/output/projection/pixelSizeX 0.904 mm
/gate/output/projection/pixelSizeY 0.904 mm
/gate/output/projection/pixelNumberX 128
/gate/output/projection/pixelNumberY 128
# Specify the projection plane (XY, YZ or ZX)
##
/gate/output/projection/projectionPlane YZ
asra sadat talebi
PhD Scholar
Tarbiat Modares University
Department of medical physics
Tehran - Iran
E-mail address: asra.talebi at modares.ac.ir<mailto:asra.talebi at modares.ac.ir>
asra.talebi at yahoo.com<mailto:asra.talebi at yahoo.com>
_______________________________________________
Gate-users mailing list
Gate-users at lists.opengatecollaboration.org<mailto: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/pipermail/gate-users/attachments/20190815/993fd456/attachment-0001.html>
More information about the Gate-users
mailing list