[Castor-users] Problem in crystal index

tmerlin Thibaut.Merlin at univ-brest.fr
Tue Nov 21 11:19:55 CET 2017


Hello Kajal,

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 ?

Best regards,

Thibaut



On 20/11/2017 14:35, Kajal Aggarwal wrote:
> Yes it was a PET simulation and I did use castor-GATERootToCastor to 
> convert my data to .cdh and .cdf files.
>
>
> On Mon, Nov 20, 2017 at 2:23 PM, Simon Stute <simon.stute at cea.fr 
> <mailto:simon.stute at cea.fr>> wrote:
>
>     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 ?
>
>     This is to know where to look for.
>
>     Simon
>
>
>     Le 20/11/2017 à 14:10, Kajal Aggarwal a écrit :
>>     Hello Simon,
>>
>>     Thank you for your response.
>>
>>     I do not know how can I write the event indices as unit32_t in
>>     the binary datafile.
>>     My data is coming from Gate simulation of a pixelated file
>>     geometry for a source at the centre of the scanner.
>>     I did not include any corrections.
>>
>>     I am attaching the log file for further reference.
>>
>>     Thank you.
>>
>>     On Mon, Nov 20, 2017 at 2:02 PM, Simon Stute <simon.stute at cea.fr
>>     <mailto:simon.stute at cea.fr>> wrote:
>>
>>         Hi,
>>
>>         There could be several different explanations.
>>
>>         Did you write the event indices as uint32_t in the binary
>>         datafile ?
>>         Where do your data come from ?
>>         Did you include corrections in the datafile ?
>>
>>         You may post a log file with the verbose level set to 3 in
>>         order to get a bit more information.
>>
>>         Best,
>>         Simon
>>
>>
>>         Le 20/11/2017 à 13:56, Kajal Aggarwal a écrit :
>>>         Hello,
>>>
>>>         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:
>>>
>>>         iScannerPET::GetPositionsAndOrientations() -> Crystal index
>>>         1 (-2090952667) out of range [0:5615]
>>>
>>>         Could you suggest me how do I overcome this issue?
>>>         -- 
>>>         Thanking you.
>>>         Yours sincerely,
>>>         Kajal Aggarwal
>>>
>>>
>>>         _______________________________________________
>>>         Castor-users mailing list
>>>         Castor-users at lists.castor-project.org
>>>         <mailto:Castor-users at lists.castor-project.org>
>>>         http://lists.castor-project.org/listinfo/castor-users
>>>         <http://lists.castor-project.org/listinfo/castor-users>
>>         _______________________________________________ Castor-users
>>         mailing list Castor-users at lists.castor-project.org
>>         <mailto:Castor-users at lists.castor-project.org>
>>         http://lists.castor-project.org/listinfo/castor-users
>>         <http://lists.castor-project.org/listinfo/castor-users> 
>>
>>     -- 
>>     Thanking you.
>>     Yours sincerely,
>>     Kajal Aggarwal
>
> -- 
> Thanking you.
> Yours sincerely,
> Kajal Aggarwal
>
> _______________________________________________
> Castor-users mailing list
> Castor-users at lists.castor-project.org
> http://lists.castor-project.org/listinfo/castor-users
-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.castor-project.org/pipermail/castor-users/attachments/20171121/16bc4e7f/attachment-0001.html>


More information about the Castor-users mailing list