<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hello Kajal,</p>
    <p>Could you please share the .mac files used in your GATE
      simulation so that I can try to reproduce the issue and figure out
      the cause ?</p>
    <p>Best regards,<br>
    </p>
    <p>Thibaut<br>
    </p>
    <br>
    <br>
    <div class="moz-cite-prefix">On 20/11/2017 14:35, Kajal Aggarwal
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAGb=JVgaDyd_5mR1q1Ti8Z+=Kgp_uB4qYE67JTdR2zj5yjOMEQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">Yes it was a PET simulation and I did use
        castor-GATERootToCastor to convert my data to .cdh and .cdf
        files.<br>
        <br>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Mon, Nov 20, 2017 at 2:23 PM, Simon
          Stute <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:simon.stute@cea.fr" target="_blank">simon.stute@cea.fr</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF">
              <div class="m_-8447986711061105089moz-cite-prefix">If I am
                correct, this was a PET simulation and you used the
                castor-GATERootToCastor conversion program to convert
                your simulated data into a CASToR datafile ?<br>
                <br>
                This is to know where to look for.<span class="HOEnZb"><font
                    color="#888888"><br>
                    <br>
                    Simon</font></span>
                <div>
                  <div class="h5"><br>
                    <br>
                    Le 20/11/2017 à 14:10, Kajal Aggarwal a écrit :<br>
                  </div>
                </div>
              </div>
              <div>
                <div class="h5">
                  <blockquote type="cite">
                    <div dir="ltr">
                      <div>
                        <div>
                          <div>
                            <div>Hello Simon, <br>
                              <br>
                            </div>
                            Thank you for your response. <br>
                            <br>
                          </div>
                          I do not know how can I write the event
                          indices as unit32_t in the binary datafile.<br>
                        </div>
                        My data is coming from Gate simulation of a
                        pixelated file geometry for a source at the
                        centre of the scanner.<br>
                      </div>
                      <div>I did not include any corrections.<br>
                        <br>
                      </div>
                      <div>I am attaching the log file for further
                        reference. <br>
                        <br>
                      </div>
                      <div>Thank you.<br>
                      </div>
                    </div>
                    <div class="gmail_extra"><br>
                      <div class="gmail_quote">On Mon, Nov 20, 2017 at
                        2:02 PM, Simon Stute <span dir="ltr"><<a
                            moz-do-not-send="true"
                            href="mailto:simon.stute@cea.fr"
                            target="_blank">simon.stute@cea.fr</a>></span>
                        wrote:<br>
                        <blockquote class="gmail_quote" style="margin:0
                          0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex">
                          <div text="#000000" bgcolor="#FFFFFF">
                            <div
                              class="m_-8447986711061105089m_-1555604209017696011moz-cite-prefix">Hi,<br>
                              <br>
                              There could be several different
                              explanations.<br>
                              <br>
                              Did you write the event indices as
                              uint32_t in the binary datafile ?<br>
                              Where do your data come from ?<br>
                              Did you include corrections in the
                              datafile ?<br>
                              <br>
                              You may post a log file with the verbose
                              level set to 3 in order to get a bit more
                              information.<br>
                              <br>
                              Best,<br>
                              Simon
                              <div>
                                <div class="m_-8447986711061105089h5"><br>
                                  <br>
                                  Le 20/11/2017 à 13:56, Kajal Aggarwal
                                  a écrit :<br>
                                </div>
                              </div>
                            </div>
                            <blockquote type="cite">
                              <div>
                                <div class="m_-8447986711061105089h5">
                                  <div dir="ltr">
                                    <div>Hello,<br>
                                      <br>
                                    </div>
                                    I am trying to reconstruct my data
                                    for cylindrical PET system after
                                    creating scanner.geom and
                                    scanner.cdh files. However, I get an
                                    error that my crystal index is out
                                    of range as shown below:<br>
                                    <br>
                                    iScannerPET::GetPositionsAndOr<wbr>ientations()
                                    -> Crystal index 1 (-2090952667)
                                    out of range [0:5615]<br clear="all">
                                    <div>
                                      <div><br>
                                      </div>
                                      <div>Could you suggest me how do I
                                        overcome this issue?<br>
                                      </div>
                                      <div>-- <br>
                                        <div
                                          class="m_-8447986711061105089m_-1555604209017696011gmail_signature">
                                          <div dir="ltr">
                                            <div>Thanking you.</div>
                                            <div> </div>
                                            <div>Yours sincerely,</div>
                                            <div>Kajal Aggarwal</div>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                  <br>
                                  <fieldset
                                    class="m_-8447986711061105089m_-1555604209017696011mimeAttachmentHeader"></fieldset>
                                  <br>
                                </div>
                              </div>
                              <pre>______________________________<wbr>_________________
Castor-users mailing list
<a moz-do-not-send="true" class="m_-8447986711061105089m_-1555604209017696011moz-txt-link-abbreviated" href="mailto:Castor-users@lists.castor-project.org" target="_blank">Castor-users@lists.castor-proj<wbr>ect.org</a>
<a moz-do-not-send="true" class="m_-8447986711061105089m_-1555604209017696011moz-txt-link-freetext" href="http://lists.castor-project.org/listinfo/castor-users" target="_blank">http://lists.castor-project.or<wbr>g/listinfo/castor-users</a>
</pre>
              </blockquote>
              

            </div>
            

            ______________________________<wbr>_________________

            Castor-users mailing list

            <a moz-do-not-send="true" href="mailto:Castor-users@lists.castor-project.org" target="_blank">Castor-users@lists.castor-proj<wbr>ect.org</a>

            <a moz-do-not-send="true" href="http://lists.castor-project.org/listinfo/castor-users" rel="noreferrer" target="_blank">http://lists.castor-project.or<wbr>g/listinfo/castor-users</a>

            

          </blockquote>
        </div>
        

        

        

        -- 

        <div class="m_-8447986711061105089gmail_signature" data-smartmail="gmail_signature">
          <div dir="ltr">
            <div>Thanking you.</div>
            <div> </div>
            <div>Yours sincerely,</div>
            <div>Kajal Aggarwal</div>
          </div>
        </div>
      </div>
    </blockquote>
    

  </div></div></div>

</blockquote></div>


-- 
<div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Thanking you.</div><div> </div><div>Yours sincerely,</div><div>Kajal Aggarwal</div></div></div>
</div>


<fieldset class="mimeAttachmentHeader"></fieldset>
<pre wrap="">_______________________________________________
Castor-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Castor-users@lists.castor-project.org">Castor-users@lists.castor-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.castor-project.org/listinfo/castor-users">http://lists.castor-project.org/listinfo/castor-users</a>
</pre>

</blockquote>
<pre class="moz-signature" cols="72">-- 
Thibaut MERLIN -- PhD

Docteur en Imagerie Médicale au Laboratoire de Traitement de l'Information Medicale (LaTIM - INSERM UMR 1101)
Bâtiment 1
CHRU Morvan - 2, Av. Foch
29609 Brest CEDEX - FRANCE
Tel: 06.75.12.24.90</pre></body></html>