<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Dear CASToR users, <br class=""><br class="">We are trying to reconstruct PET image from a binary LUT file following the page 21 in the general document. The sensitivity map looks fine but reconstructed images make no sense. We think that there would be a problem regarding to castor ID for each detector (but we are not fully sure).<br class="">We currently create a binary LUT file as the for loops (*1) suggested in the document. Does the castor ID for detectors follow the order like (*2)?<br class=""><br class="">Any suggestions/comments are welcome.<br class=""><br class="">Thank you and kind regrads,<br class="">Daiki Hayakawa<br class=""><br class=""><br class="">(*1)<br class="">for(iLayer=0;iLayer<NLayer;iLayer++)<br class="">    for(iRing=0;iRing<NRing;iRing++) <br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>for(iDet=0;iDet<NDet;iDet++) { <br class=""><span class="Apple-tab-span" style="white-space:pre">                </span>fwrite(&Posx[iLayer][iRing][iDet],sizeof(FLTNBLUT),1,fPtr); <br class=""><span class="Apple-tab-span" style="white-space:pre">          </span>fwrite(&Posy[iLayer][iRing][iDet],sizeof(FLTNBLUT),1,fPtr);<br class=""><span class="Apple-tab-span" style="white-space:pre">                </span>fwrite(&Posz[iLayer][iRing][iDet],sizeof(FLTNBLUT),1,fPtr);<br class=""><span class="Apple-tab-span" style="white-space:pre">                </span>fwrite(&OrVx[iLayer][iRing][iDet],sizeof(FLTNBLUT),1,fPtr);<br class=""><span class="Apple-tab-span" style="white-space:pre">                </span>fwrite(&OrVy[iLayer][iRing][iDet],sizeof(FLTNBLUT),1,fPtr); <br class=""><span class="Apple-tab-span" style="white-space:pre">          </span>fwrite(&OrVz[iLayer][iRing][iDet],sizeof(FLTNBLUT),1,fPtr); <br class="">} <br class=""><br class="">(*2)<br class="">for(iLayer=0;iLayer<NLayer;iLayer++)<br class="">    for(iRing=0;iRing<NRing;iRing++) <br class=""><span class="Apple-tab-span" style="white-space:pre">   </span>for(iDet=0;iDet<NDet;iDet++) { <br class=""><span class="Apple-tab-span" style="white-space:pre">                </span>castorID = iDet + iRing*NDet + l*NRing*NDet;<br class="">}<br class=""><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">------------------------------------------------------</div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Daiki HAYAKAWA</div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Group: TT-PET</div></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">DPNC, University of Geneva</div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">E-mail: <a href="mailto:daiki.hayakawa@cern.ch" class="">daiki.hayakawa@cern.ch</a> , <a href="mailto:Daiki.Hayakawa@unige.ch" class="">Daiki.Hayakawa@unige.ch</a></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">------------------------------------------------------</div></div></div></div></div></div>
</div>
<br class=""></body></html>