<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi,
<div class=""><br class="">
</div>
<div class="">Thank you very much for your reply!</div>
<div class="">I’ve read your preprint and implemented the modules dead time and pileup. </div>
<div class=""><br class="">
</div>
<div class="">However, I’m having trouble implementing the „Efficiency" module.</div>
<div class="">The closest module I could find in the docs was the crystal blurring module which has a setCrystalQE parameter. </div>
<div class=""><br class="">
</div>
<div class="">But I don’t really understand the module. I don’t understand what the setCrystalResolution and setCrystalEnergyOfReference parameters are for.</div>
<div class="">I tried all kind of combinations by commenting out parts of the crystal blurring to compare the result. But all the time, the count rates were very low. </div>
<div class="">Even when I put <font color="#000000" class="">setCrystalQE to 1.0 (so 100%) and did not use the CrystalResolution parameters, the count rate was still maybe 10% what the count rate is without the crystal blurring module inserted. </font></div>
<div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><br class="">
</span></font></div>
<div class=""><font color="#000000" class="">Can anybody help with this module or is there another Efficiency module in the digitizer?</font></div>
<div class=""><font color="#000000" class=""><br class="">
</font></div>
<div class=""><font color="#000000" class="">Cheers,</font></div>
<div class=""><font color="#000000" class="">Korbinian</font></div>
<div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><br class="">
</span></font></div>
<div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class="">Code of the module:</span></font></div>
<div class=""><font color="#000000" class="">
<div class="">/gate/digitizer/Singles/insert crystalblurring</div>
<div class="">/gate/digitizer/Singles/crystalblurring/setCrystalResolutionMin 0.15 #I don’t understand those parameters</div>
</font><font color="#000000" class="">
<div class="">/gate/digitizer/Singles/crystalblurring/setCrystalResolutionMax 0.35 #I don’t understand those parameters</div>
<div class="">/gate/digitizer/Singles/crystalblurring/setCrystalQE 0.9</div>
<div class="">/gate/digitizer/Singles/crystalblurring/setCrystalEnergyOfReference 140.5 keV #I don’t understand those parameters</div>
</font><font color="#000000" class="">
<div style="caret-color: rgb(0, 0, 0);" class=""><br class="">
</div>
</font>
<div><br class="">
<blockquote type="cite" class="">
<div class="">Am 07.09.2022 um 15:32 schrieb Matthew Strugari <<a href="mailto:matthew.strugari@dal.ca" class="">matthew.strugari@dal.ca</a>>:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="auto" class="">
<div dir="ltr" class="">Hi Korbinian,
<div class=""><br class="">
</div>
<div class="">You might be interested in talking a look at my preprint (<a href="https://assets.researchsquare.com/files/rs-1946160/v1_covered.pdf?c=1660749461" class="">https://assets.researchsquare.com/files/rs-1946160/v1_covered.pdf?c=1660749461</a>) in
which I validated a GATE model of a preclinical SPECT system. The examples you refer to are somewhat outdated and are not intended to be a thorough demonstration of a complete system. My preprint introduces the digitizer modules and methods I used for tuning
the parameters to the best of my ability. For my study, count rates were matched with the efficiency, dead time, and pileup modules, and blurring parameters were set to yield simulation observables that matched measurement, i.e., simply setting the measured
value for a blurring module may not produce an identical result in simulation, but that depends on the accuracy you desire.</div>
<div class=""><br class="">
</div>
<div class="">You will need to explicitly define each digitizer module that you would like to use to obtain their effects. I would recommend starting with a simple working case and then build on one module at a time from there.</div>
<div class=""><br class="">
</div>
<div class="">Best,</div>
<div class="">Matthew</div>
<div class="">
<div dir="ltr" class=""><br class="">
<blockquote type="cite" class="">On Sep 7, 2022, at 9:19 AM, Träuble, Korbinian Linus <<a href="mailto:korbinian.traeuble@tum.de" class="">korbinian.traeuble@tum.de</a>> wrote:<br class="">
<br class="">
</blockquote>
</div>
<blockquote type="cite" class="">
<div dir="ltr" class=""><!-- START CAUTION Box Code -->
<table align="center" border="0" cellpadding="0" cellspacing="0" style="padding:10px 0 10px 0" width="100%" class="">
<tbody class="">
<tr class="">
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;" class="">
<table align="center" border="0" cellpadding="0" cellspacing="0" style="background:#707372;background-color:#707372;width:100%;border-radius:5px;overflow:hidden;" class="">
<tbody class="">
<tr class="">
<td style="border-top:solid 8px #fbe122;padding:4px 8px;text-align:left;vertical-align:top;" class="">
<table role="presentation" border="0" cellpadding="0" cellspacing="0" class="">
<tbody class="">
<tr class="">
<td align="left" class="">
<div style="font-family:Arial,sans-serif;font-size:12px;line-height:16px;text-align:left;color:#ffffff;" class="">
<span style="font-weight:bold;font-size:12px;" class="">CAUTION:</span> The Sender of this email is not from within Dalhousie.</div>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<!-- END CAUTION Box Code -->
<div class="">
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue";" class="">
Dear all,</div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue"; min-height: 15px;" class="">
<br class="">
</div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue";" class="">
I’m having trouble understanding the digitizer modules for SPECT/gamma cameras. According to the SPECT examples I’ve found only the adder, readout, blurring, spblurring and thresholds modules are used. </div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue";" class="">
But modules such as lightyield, transfer efficiency, quantum efficiency, crystal blurring are not yet taken into account in all of those examples.</div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue";" class="">
Are the former already covered by the definition of the crystal material (in my case, NaI(Tl) crystal) and blurring (in my case 10% @ 140keV)?</div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue";" class="">
Or do I need to define them additionally to the ones in my code to get realistic images?</div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue";" class="">
Also I don’t really understand based on the documentation how to apply the digitizer modules which are not part of my code yet, because it always throws a segmentation violations error.</div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue"; min-height: 15px;" class="">
<br class="">
</div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue";" class="">
Based on my code the pictures look good qualitatively, but the count rates don’t match with real measurements.</div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue"; min-height: 15px;" class="">
<br class="">
</div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue";" class="">
Would be glad to get some feedback.</div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue"; min-height: 15px;" class="">
<br class="">
</div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue";" class="">
Cheers,</div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue";" class="">
Korbinian</div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue"; min-height: 15px;" class="">
<br class="">
</div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue"; min-height: 15px;" class="">
<br class="">
</div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue";" class="">
Code:</div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue"; min-height: 15px;" class="">
<br class="">
</div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue";" class="">
###CAMERA model</div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue";" class="">
/<i class="">gate</i>/<i class="">world</i>/<i class="">daughters</i>/<i class="">name SPECThead</i></div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue";" class="">
/<i class="">gate</i>/<i class="">world</i>/<i class="">daughters</i>/<i class="">insert box</i></div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue";" class="">
/<i class="">gate</i>/<i class="">SPECThead</i>/<i class="">geometry</i>/<i class="">setXLength
</i>300 <i class="">mm </i># </div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue";" class="">
/<i class="">gate</i>/<i class="">SPECThead</i>/<i class="">geometry</i>/<i class="">setYLength
</i>76.5 <i class="">mm</i></div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue";" class="">
/<i class="">gate</i>/<i class="">SPECThead</i>/<i class="">geometry</i>/<i class="">setZLength
</i>300 <i class="">mm </i># </div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue";" class="">
/<i class="">gate</i>/<i class="">SPECThead</i>/<i class="">placement</i>/<i class="">setTranslation
</i>0 -20 0 <i class="">mm</i></div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue";" class="">
/<i class="">gate</i>/<i class="">SPECThead</i>/<i class="">setMaterial Air</i></div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue"; min-height: 15px;" class="">
<br class="">
</div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue";" class="">
/<i class="">gate</i>/<i class="">SPECThead</i>/<i class="">daughters</i>/<i class="">name crystal</i></div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue";" class="">
/<i class="">gate</i>/<i class="">SPECThead</i>/<i class="">daughters</i>/<i class="">insert box</i></div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue";" class="">
/<i class="">gate</i>/<i class="">crystal</i>/<i class="">geometry</i>/<i class="">setXLength
</i>230 <i class="">mm</i></div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue";" class="">
/<i class="">gate</i>/<i class="">crystal</i>/<i class="">geometry</i>/<i class="">setYLength
</i>6.5 <i class="">mm</i></div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue";" class="">
/<i class="">gate</i>/<i class="">crystal</i>/<i class="">geometry</i>/<i class="">setZLength
</i>210 <i class="">mm</i></div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue";" class="">
/<i class="">gate</i>/<i class="">crystal</i>/<i class="">placement</i>/<i class="">setTranslation
</i>0. -6. 0. <i class="">mm</i></div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue";" class="">
/<i class="">gate</i>/<i class="">crystal</i>/<i class="">setMaterial NaITl</i></div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue"; min-height: 15px;" class="">
<br class="">
</div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue";" class="">
/<i class="">control</i>/<i class="">execute mac</i>/<i class="">Collimator</i>/<i class="">collimator_for_</i>{<i class="">isotope</i>}/<i class="">hexagon_clinicV2</i>.mac</div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue"; min-height: 15px;" class="">
<br class="">
</div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue"; min-height: 15px;" class="">
<br class="">
</div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue"; min-height: 15px;" class="">
<br class="">
</div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue";" class="">
###DIGITIZER</div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue";" class="">
/<i class="">gate</i>/<i class="">digitizer</i>/<i class="">Singles</i>/<i class="">insert adder</i></div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue"; min-height: 15px;" class="">
<i class=""></i><br class="">
</div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue";" class="">
/<i class="">gate</i>/<i class="">digitizer</i>/<i class="">Singles</i>/<i class="">insert readout</i></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><font face="Helvetica Neue" size="2" class="">#/</font><i style="font-family: "Helvetica Neue"; font-size: 13px;" class="">gate</i><font face="Helvetica Neue" size="2" class="">/</font><i style="font-family: "Helvetica Neue"; font-size: 13px;" class="">digitizer</i><font face="Helvetica Neue" size="2" class="">/</font><i style="font-family: "Helvetica Neue"; font-size: 13px;" class="">Singles</i><font face="Helvetica Neue" size="2" class="">/</font><i style="font-family: "Helvetica Neue"; font-size: 13px;" class="">readout</i><font face="Helvetica Neue" size="2" class="">/</font><i style="font-family: "Helvetica Neue"; font-size: 13px;" class="">setPolicy
TakeEnergyCentroid #this does not work somehow, but </i><font face="Helvetica Neue" size="2" class=""><i class="">I</i></font><i style="font-family: "Helvetica Neue"; font-size: 13px;" class=""> thought might be better </i><font face="Helvetica Neue" size="2" class=""><i class="">bcs
my camera uses PMTs</i></font></div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue";" class="">
/<i class="">gate</i>/<i class="">digitizer</i>/<i class="">Singles</i>/<i class="">readout</i>/<i class="">setDepth
</i>1</div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue"; min-height: 15px;" class="">
<i class=""></i><br class="">
</div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue";" class="">
/<i class="">gate</i>/<i class="">digitizer</i>/<i class="">Singles</i>/<i class="">insert blurring</i></div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue";" class="">
/<i class="">gate</i>/<i class="">digitizer</i>/<i class="">Singles</i>/<i class="">blurring</i>/<i class="">setLaw inverseSquare</i></div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue";" class="">
/<i class="">gate</i>/<i class="">digitizer</i>/<i class="">Singles</i>/<i class="">blurring</i>/<i class="">inverseSquare</i>/<i class="">setResolution
</i>0.099</div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue";" class="">
/<i class="">gate</i>/<i class="">digitizer</i>/<i class="">Singles</i>/<i class="">blurring</i>/<i class="">inverseSquare</i>/<i class="">setEnergyOfReference
</i>140.5 <i class="">keV</i></div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue"; min-height: 15px;" class="">
<i class=""></i><br class="">
</div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue";" class="">
#<i class="">spatialblurring</i></div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue";" class="">
/<i class="">gate</i>/<i class="">digitizer</i>/<i class="">Singles</i>/<i class="">insert spblurring</i></div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue";" class="">
/<i class="">gate</i>/<i class="">digitizer</i>/<i class="">Singles</i>/<i class="">spblurring</i>/<i class="">setSpresolution
</i>3.2 <i class="">mm </i></div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue";" class="">
/<i class="">gate</i>/<i class="">digitizer</i>/<i class="">Singles</i>/<i class="">spblurring</i>/<i class="">verbose
</i>0</div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue"; min-height: 15px;" class="">
<br class="">
</div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue";" class="">
/<i class="">gate</i>/<i class="">digitizer</i>/<i class="">Singles</i>/<i class="">insert thresholder</i></div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue";" class="">
/<i class="">gate</i>/<i class="">digitizer</i>/<i class="">Singles</i>/<i class="">thresholder</i>/<i class="">setThreshold
</i>126.45 <i class="">keV</i></div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue";" class="">
/<i class="">gate</i>/<i class="">digitizer</i>/<i class="">Singles</i>/<i class="">insert upholder</i></div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Helvetica Neue";" class="">
/<i class="">gate</i>/<i class="">digitizer</i>/<i class="">Singles</i>/<i class="">upholder</i>/<i class="">setUphold
</i>154.55 <i class="">keV</i></div>
</div>
<span class="">_______________________________________________</span><br class="">
<span class="">Gate-users mailing list</span><br class="">
<span class=""><a href="mailto:Gate-users@lists.opengatecollaboration.org" class="">Gate-users@lists.opengatecollaboration.org</a></span><br class="">
<span class=""><a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" class="">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a></span></div>
</blockquote>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>