<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi,
    <div class="moz-forward-container">
      <p>I have written the enclosed script to convert a SpekCalc output
        to a Gate macro. It produces a file like</p>
      <p><a moz-do-not-send="true"
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><br>
      </p>
      <p>The output macro file can be called like in <br>
      </p>
      <p><a moz-do-not-send="true"
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></p>
      <p>Simon<br>
      </p>
      <br>
      <div class="moz-cite-prefix">On 14/05/2017 13:10, Emmanuel Marfo
        wrote:<br>
      </div>
      <blockquote
cite="mid:SY3PR01MB15614EF693974C1EF29D333FF7E00@SY3PR01MB1561.ausprd01.prod.outlook.com"
        type="cite">
        <meta http-equiv="Content-Type" content="text/html;
          charset=utf-8">
        <style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
        <div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;"
          dir="ltr">
          <p>Hi Sir,</p>
          <p>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</p>
          <p>Best regards,</p>
          <p>Emmanuel Marfo</p>
          <p>Student</p>
          <p>University of Otago</p>
        </div>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
Gate-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a></pre>
      </blockquote>
      <br>
    </div>
  </body>
</html>