[Gate-users] X-ray energy spectrum as GPS in Gate

Simon Rit simon.rit at creatis.insa-lyon.fr
Mon May 15 11:23:17 CEST 2017


Hi,

I have written the enclosed script to convert a SpekCalc output to a 
Gate macro. It produces a file like

https://github.com/OpenGATE/GateContrib/blob/master/imaging/CT/fixedForcedDetectionCT/mac/120keV.mac

The output macro file can be called like in

https://github.com/OpenGATE/GateContrib/blob/master/imaging/CT/fixedForcedDetectionCT/mac/fixedForcedDetectionCT.mac#L73

Simon


On 14/05/2017 13:10, Emmanuel Marfo wrote:
>
> Hi Sir,
>
> Please am a beginner trying to use Gate to do my simulations as part 
> of my thesis. So far I have been learning Gate v7.2 user guide. I want 
> to use x-ray energy spectrum from SpekCalc as GPS in my simulation but 
> don't know how to go about it and the explanation in the user guide is 
> hard to understand. Can anyone help or suggest any way I could do 
> this. Thanks
>
> Best regards,
>
> Emmanuel Marfo
>
> Student
>
> University of Otago
>
>
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20170515/7829b0f5/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: spekcalc_to_gate.sh
Type: application/x-sh
Size: 533 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20170515/7829b0f5/attachment-0001.sh>


More information about the Gate-users mailing list