<div dir="ltr"><div><div>Hi,<br><br></div>The projection output is mainly designed to work on a monolithic crystal (without a concrete definition of geometric pixels) as you can define the number of pixels inside the projection output.<br></div><div>The behaviour of the projection output when you are actually using pixels defined in the system is quite unknown to my knowledge.<br></div><div>Maybe an expert in SPECT simulations could give you a more complete answer.<br><br></div><div>Cheers,<br></div><div>Simon<br></div><div><br></div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 14, 2015 at 4:43 AM, Chao Guo <span dir="ltr"><<a href="mailto:chaoguomedicalphysics@gmail.com" target="_blank">chaoguomedicalphysics@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><div link="#0563C1" vlink="#954F72" lang="EN-US"><div><p class="MsoNormal"><span style="color:#222222;background:white">Dear all,<u></u><u></u></span></p><p class="MsoNormal"><span style="color:#222222;background:white"><u></u> <u></u></span></p><p class="MsoNormal"><span style="color:#222222;background:white">I’m trying to use the Pixel level under SPECT to do the pixelated crystal and I met some problems. I use the crystal level and it work perfect and then I add the pixel level, the projection image shows me something at the center of the image but the actual setup is not at center. Does anyone have any idea about this? <u></u><u></u></span></p><p class="MsoNormal"><span style="color:#222222;background:white"><u></u> <u></u></span></p><p class="MsoNormal"><span style="color:#222222;background:white">I use the example code from the optical imaging benchmark macro:<u></u><u></u></span></p><p class="MsoNormal"><span style="color:#222222;background:white"><u></u> <u></u></span></p><p class="MsoNormal" style="margin-left:91.6pt;line-height:13.2pt;background:#f9f9f9"><span style="font-size:10.0pt;font-family:"Courier New";color:black">/gate/pixel/geometry/setXLength 2.0 cm<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:91.6pt;line-height:13.2pt;background:#f9f9f9"><span style="font-size:10.0pt;font-family:"Courier New";color:black">/gate/pixel/geometry/setYLength 2.0 cm<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:91.6pt;line-height:13.2pt;background:#f9f9f9"><span style="font-size:10.0pt;font-family:"Courier New";color:black">/gate/pixel/geometry/setZLength 1.0 cm<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:91.6pt;line-height:13.2pt;background:#f9f9f9"><span style="font-size:10.0pt;font-family:"Courier New";color:black">/gate/pixel/setMaterial Air<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:91.6pt;line-height:13.2pt;background:#f9f9f9"><span style="font-size:10.0pt;font-family:"Courier New";color:black">/gate/pixel/placement/setTranslation 0 0 0 cm<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:91.6pt;line-height:13.2pt;background:#f9f9f9"><span style="font-size:10.0pt;font-family:"Courier New";color:black">/gate/pixel/vis/setColor red<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:91.6pt;line-height:13.2pt;background:#f9f9f9"><span style="font-size:10.0pt;font-family:"Courier New";color:black">/gate/pixel/repeaters/insert cubicArray<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:91.6pt;line-height:13.2pt;background:#f9f9f9"><span style="font-size:10.0pt;font-family:"Courier New";color:black">/gate/pixel/cubicArray/setRepeatNumberX 5<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:91.6pt;line-height:13.2pt;background:#f9f9f9"><span style="font-size:10.0pt;font-family:"Courier New";color:black">/gate/pixel/cubicArray/setRepeatNumberY 5<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:91.6pt;line-height:13.2pt;background:#f9f9f9"><span style="font-size:10.0pt;font-family:"Courier New";color:black">/gate/pixel/cubicArray/setRepeatNumberZ 1<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:91.6pt;line-height:13.2pt;background:#f9f9f9"><span style="font-size:10.0pt;font-family:"Courier New";color:black">/gate/pixel/cubicArray/setRepeatVector 2.1 2.1 0 cm<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:91.6pt;line-height:13.2pt;background:#f9f9f9"><span style="font-size:10.0pt;font-family:"Courier New";color:black">/gate/pixel/vis/forceSolid <u></u><u></u></span></p><p class="MsoNormal" style="margin-left:91.6pt;line-height:13.2pt;background:#f9f9f9"><span style="font-size:10.0pt;font-family:"Courier New";color:black">/gate/pixel/attachCrystalSD<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:91.6pt;line-height:13.2pt;background:#f9f9f9"><span style="font-size:10.0pt;font-family:"Courier New";color:black">/gate/systems/OpticalSystem/pixel/attach pixel<u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Please let me know if you guys have any suggestions, thank you<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Chao<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p></div>
<br><br>
<hr style="border:none;color:#909090;background-color:#b0b0b0;min-height:1px;width:99%">
<table style="border-collapse:collapse;border:none">
<tbody><tr>
<td style="border:none;padding:0px 15px 0px 8px">
<a href="https://www.avast.com/antivirus" target="_blank">
<img src="http://static.avast.com/emails/avast-mail-stamp.png" alt="Avast logo" border="0">
</a>
</td>
<td>
<p style="color:#3d4d5a;font-family:"Calibri","Verdana","Arial","Helvetica";font-size:12pt">
This email has been checked for viruses by Avast antivirus software.
<br><a href="https://www.avast.com/antivirus" target="_blank">www.avast.com</a>
</p>
</td>
</tr>
</tbody></table>
<br>
</div></div></div><br>_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" rel="noreferrer" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br></blockquote></div><br></div>