<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Courier New";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hello Simon,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am attempting a project where I simulate a spectrum using SpekCalc and then run it in GATE. I stumbled upon the below message, and am truly grateful for your script. However, I do not quite understand what it is doing to the fluence.
In your example, for the first line, you have an energy of 0.012 MeV, and a fluence of 2.591082e-126. However, when I create a sample spectrum of 120kev, my first line has an energy of 0.012MeV, but a fluence of 0.2479699. I have tried to look into the GATE
manual to see what it expects for units of fluence, but have been unsuccessful. <o:p>
</o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">If you could please help me understand what units the fluence are for GATE it would be greatly appreciated.<o:p></o:p></p>
<p class="MsoNormal"><br>
Thank you,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Daniel<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<pre><span style="color:black">Hi,<o:p></o:p></span></pre>
<pre><span style="color:black"><o:p> </o:p></span></pre>
<pre><span style="color:black">I have written the enclosed script to convert a SpekCalc output to a <o:p></o:p></span></pre>
<pre><span style="color:black">Gate macro. It produces a file like<o:p></o:p></span></pre>
<pre><span style="color:black"><o:p> </o:p></span></pre>
<pre><span style="color:black"><a href="https://github.com/OpenGATE/GateContrib/blob/master/imaging/CT/fixedForcedDetectionCT/mac/120keV.mac">https://github.com/OpenGATE/GateContrib/blob/master/imaging/CT/fixedForcedDetectionCT/mac/120keV.mac</a><o:p></o:p></span></pre>
<pre><span style="color:black"><o:p> </o:p></span></pre>
<pre><span style="color:black">The output macro file can be called like in<o:p></o:p></span></pre>
<pre><span style="color:black"><o:p> </o:p></span></pre>
<pre><span style="color:black"><a href="https://github.com/OpenGATE/GateContrib/blob/master/imaging/CT/fixedForcedDetectionCT/mac/fixedForcedDetectionCT.mac#L73">https://github.com/OpenGATE/GateContrib/blob/master/imaging/CT/fixedForcedDetectionCT/mac/fixedForcedDetectionCT.mac#L73</a><o:p></o:p></span></pre>
<pre><span style="color:black"><o:p> </o:p></span></pre>
<pre><span style="color:black">Simon<o:p></o:p></span></pre>
<pre><span style="color:black"><o:p> </o:p></span></pre>
<pre><span style="color:black"><o:p> </o:p></span></pre>
<pre><span style="color:black">On 14/05/2017 13:10, Emmanuel Marfo wrote:<o:p></o:p></span></pre>
<pre><span style="color:black">><i><o:p> </o:p></i></span></pre>
<pre><span style="color:black">><i> Hi Sir,<o:p></o:p></i></span></pre>
<pre><span style="color:black">><i><o:p> </o:p></i></span></pre>
<pre><span style="color:black">><i> Please am a beginner trying to use Gate to do my simulations as part <o:p></o:p></i></span></pre>
<pre><span style="color:black">><i> of my thesis. So far I have been learning Gate v7.2 user guide. I want <o:p></o:p></i></span></pre>
<pre><span style="color:black">><i> to use x-ray energy spectrum from SpekCalc as GPS in my simulation but <o:p></o:p></i></span></pre>
<pre><span style="color:black">><i> don't know how to go about it and the explanation in the user guide is <o:p></o:p></i></span></pre>
<pre><span style="color:black">><i> hard to understand. Can anyone help or suggest any way I could do <o:p></o:p></i></span></pre>
<pre><span style="color:black">><i> this. Thanks<o:p></o:p></i></span></pre>
<pre><span style="color:black">><i><o:p> </o:p></i></span></pre>
<pre><span style="color:black">><i> Best regards,<o:p></o:p></i></span></pre>
<pre><span style="color:black">><i><o:p> </o:p></i></span></pre>
<pre><span style="color:black">><i> Emmanuel Marfo<o:p></o:p></i></span></pre>
<pre><span style="color:black">><i><o:p> </o:p></i></span></pre>
<pre><span style="color:black">><i> Student<o:p></o:p></i></span></pre>
<pre><span style="color:black">><i><o:p> </o:p></i></span></pre>
<pre><span style="color:black">><i> University of Otago<o:p></o:p></i></span></pre>
<pre><span style="color:black">><i><o:p> </o:p></i></span></pre>
<pre><span style="color:black">><i><o:p> </o:p></i></span></pre>
<pre><span style="color:black">><i><o:p> </o:p></i></span></pre>
<pre><span style="color:black">><i> _______________________________________________<o:p></o:p></i></span></pre>
<pre><span style="color:black">><i> Gate-users mailing list<o:p></o:p></i></span></pre>
<pre><span style="color:black">><i> <a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users">Gate-users at lists.opengatecollaboration.org</a><o:p></o:p></i></span></pre>
<pre><span style="color:black">><i> <a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><o:p></o:p></i></span></pre>
<pre><span style="color:black"><o:p> </o:p></span></pre>
<pre><span style="color:black">-------------- next part --------------<o:p></o:p></span></pre>
<pre><span style="color:black">An HTML attachment was scrubbed...<o:p></o:p></span></pre>
<pre><span style="color:black">URL: <<a href="http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20170515/7829b0f5/attachment-0001.html">http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20170515/7829b0f5/attachment-0001.html</a>><o:p></o:p></span></pre>
<pre><span style="color:black">-------------- next part --------------<o:p></o:p></span></pre>
<pre><span style="color:black">A non-text attachment was scrubbed...<o:p></o:p></span></pre>
<pre><span style="color:black">Name: spekcalc_to_gate.sh<o:p></o:p></span></pre>
<pre><span style="color:black">Type: application/x-sh<o:p></o:p></span></pre>
<pre><span style="color:black">Size: 533 bytes<o:p></o:p></span></pre>
<pre><span style="color:black">Desc: not available<o:p></o:p></span></pre>
<pre><span style="color:black">URL: <<a href="http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20170515/7829b0f5/attachment-0001.sh">http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20170515/7829b0f5/attachment-0001.sh</a>><o:p></o:p></span></pre>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>