[Gate-users] Castor Reconstruction
tmerlin
Thibaut.Merlin at univ-brest.fr
Thu Nov 9 18:22:10 CET 2017
Hi João,
The castor-GATERootToCastor script requires the definition of a matrix
of virtual pixels for the SPECT camera. The correct option to use is
"/-sp_bins X,Y/", where X and Y define the number of transaxial and
axial pixels respectively (ignore the /-spect_b/ command as mentioned in
the error message, it is related to an older build).
In practice, the singles will be assigned to a specific pixel depending
on their globalPosX,Y,Z.
Regarding the /-m/ option, you should indeed give the main macro. The
script will look for any (uncommented) //control/execute/ commands, and
should look in every other macro file called from the main file. I am
not sure why it couldn't find yours, maybe some issues regarding path
management. A quick workaround would be to copy the contents of the
SPECT macros in one single file.
I attached some example scripts for the conversion and reconstruction of
the GATE SPECT benchmark data. You can launch them from the benchSPECT
directory.
Let me know if you have other questions, or get any new errors.
Best regards,
Thibaut
On 08/11/2017 18:16, João H. wrote:
> Does anyone reconstructs your SPECT outputs in Castor?
> If yes, could you send me an example of a succesful example?
> I'm trying to reconstruct from my .root file, but when i run the
> castor-GATERootToCastor command, it gives me this error:
> **** castor-GATERootToCastor :: Error : Axial and transaxial bins
> values expected (use option -spect_b) !
> ***** Exit function called. Abort with code 1.
> If you split your main macro into other macros as usual, what macro
> should I plug into the -m option? when trying for the mainMacro.mac it
> gives me no response, it misses the SPECTHead parameters, if i give it
> the SPECT.mac file, it misses the time slices.
>
> Thanks,
>
> João Castelo, IRD / University of Rio, Brazil
>
>
>
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-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.opengatecollaboration.org/pipermail/gate-users/attachments/20171109/c10d74c2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: run_recon_spect_GATE_benchm.sh
Type: application/x-shellscript
Size: 5046 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20171109/c10d74c2/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: run_GATE_to_CASToR_conversion_script.sh
Type: application/x-shellscript
Size: 3057 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20171109/c10d74c2/attachment-0001.bin>
More information about the Gate-users
mailing list