<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Am 19.03.2015 um 17:00 schrieb André
      Miguel Monteiro:<br>
    </div>
    <blockquote cite="mid:1426780813563.60196@fc.ul.pt" type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
      <p>Dear gate users,<br>
      </p>
      <p><br>
      </p>
      <p>I am using SpekCalc to generate a X-Ray spectrum with photons
        with energies between 35 and 80 keV,
        <span style="font-size: 12pt;">1.8mmAl and</span><span
          style="font-size: 12pt;"> </span><span style="font-size:
          12pt;">0.2mm Cu</span><span style="font-size: 12pt;">​
          filtration </span><span style="font-size: 12pt;">f</span><span
          style="font-size: 12pt;">or a </span><span style="font-size:
          12pt;">C</span><span style="font-size: 12pt;">T</span><span
          style="font-size: 12pt;"> simu</span><span style="font-size:
          12pt;">latio</span><span style="font-size: 12pt;">n, but I
          don't know how to put it in a GATE </span><span
          style="font-size: 12pt;">CT si</span><span style="font-size:
          12pt;">mulation. How do I put that in a "source.mac" file?</span></p>
      <p><br>
      </p>
      <p>Below is the output of a previous simulation using a spectrum
        extracted from the CT example and below that is the output of
        SpekCalc.<br>
      </p>
      <p><br>
      </p>
      <p>Thank you in advance.<br>
      </p>
      <p><br>
      </p>
      <p>Best regards,<br>
      </p>
      <p><br>
      </p>
      <p>André Miguel Monteiro<br>
      </p>
      <div><br>
      </div>
      <div><br>
      </div>
      <div>/gate/source/addSource xraygun</div>
      <div>/gate/source/verbose 0</div>
      <div>/gate/source/xraygun/setActivity 10000000. becquerel</div>
      <div>/gate/source/xraygun/gps/verbose 0</div>
      <div>/gate/source/xraygun/gps/particle gamma</div>
      <div>/gate/source/xraygun/gps/energytype Arb</div>
      <div>/gate/source/xraygun/gps/histname arb</div>
      <div>/gate/source/xraygun/gps/emin 10.00 keV</div>
      <div>/gate/source/xraygun/gps/emax 40.00 keV</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0100 Â 7</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0102 Â 4</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0104 Â 4</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0105 Â 4</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0106 Â 6</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0107 Â 3</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0108 Â 6</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0109 Â 5</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0110 Â 7</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0112 Â 6</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0114 Â 8</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0115 Â 7</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0116 Â 7</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0117 Â 10</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0118 Â 9</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0119 Â 11</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0120 Â 11</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0122 Â 8</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0123 Â 7</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0124 Â 10</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0125 Â 15</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0126 Â 19</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0127 Â 17</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0128 Â 18</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0129 Â 21</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0130 Â 24</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0132 Â 19</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0133 Â 33</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0134 Â 32</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0135 Â 34</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0136 Â 36</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0137 Â 34</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0138 Â 33</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0139 Â 38</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0140 Â 34</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0142 Â 32</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0143 Â 42</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0144 Â 37</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0145 Â 39</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0146 Â 49</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0147 Â 53</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0148 Â 48</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0149 Â 50</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0150 Â 62</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0152 Â 69</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0153 Â 51</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0154 Â 63</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0155 Â 80</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0156 Â 64</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0157 Â 77</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0158 Â 90</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0159 Â 73</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0160 Â 81</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0162 Â 74</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0163 Â 80</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0164 Â 81</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0165 Â 88</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0166 Â 97</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0167 Â 94</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0168 Â 104</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0169 Â 151</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0170 Â 287</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0172 Â 1056</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0173 Â 1489</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0174 Â 1676</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0175 Â 1520</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0176 Â 1055</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0177 Â 550</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0178 Â 296</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0179 Â 159</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0180 Â 105</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0182 Â 111</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0183 Â 114</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0184 Â 112</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0185 Â 129</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0186 Â 112</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0187 Â 119</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0188 Â 121</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0189 Â 91</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0190 Â 66</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0192 Â 15</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0193 Â 7</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0194 Â 6</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0195 Â 6</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0196 Â 9</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0197 Â 10</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0198 Â 4</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0199 Â 6</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0200 Â 3</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0202 Â 1</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0203 Â 1</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0204 Â 1</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0205 Â 0</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0206 Â 0</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0207 Â 0</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0208 Â 2</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0209 Â 0</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0210 Â 0</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0212 Â 1</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0214 Â 0</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0215 Â 0</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0216 Â 1</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0217 Â 0</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0218 Â 2</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0219 Â 1</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0220 Â 1</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0222 Â 2</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0224 Â 1</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0225 Â 2</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0226 Â 1</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0227 Â 0</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0228 Â 1</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0229 Â 1</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0230 Â 3</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0232 Â 3</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0233 Â 3</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0234 Â 3</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0235 Â 1</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0236 Â 3</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0237 Â 3</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0238 Â 2</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0239 Â 1</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0240 Â 3</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0242 Â 6</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0243 Â 4</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0244 Â 1</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0245 Â 1</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0246 Â 2</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0247 Â 7</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0248 Â 6</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0249 Â 4</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0250 Â 8</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0252 Â 5</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0254 Â 3</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0255 Â 2</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0256 Â 6</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0257 Â 5</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0258 Â 6</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0259 Â 2</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0260 Â 9</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0262 Â 5</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0264 Â 6</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0265 Â 5</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0266 Â 6</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0267 Â 7</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0268 Â 8</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0269 Â 4</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0270 Â 7</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0272 Â 7</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0274 Â 8</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0275 Â 9</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0276 Â 8</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0277 Â 7</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0278 Â 7</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0279 Â 10</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0280 Â 15</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0282 Â 3</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0283 Â 11</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0284 Â 10</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0285 Â 9</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0286 Â 11</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0287 Â 8</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0288 Â 6</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0289 Â 9</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0290 Â 14</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0292 Â 6</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0293 Â 8</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0294 Â 8</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0295 Â 9</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0296 Â 9</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0297 Â 8</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0298 Â 5</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0299 Â 7</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0300 Â 8</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0302 Â 11</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0304 Â 12</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0305 Â 10</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0306 Â 12</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0307 Â 11</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0308 Â 14</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0309 Â 8</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0310 Â 15</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0312 Â 12</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0314 Â 12</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0315 Â 19</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0316 Â 13</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0317 Â 16</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0318 Â 10</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0319 Â 8</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0320 Â 11</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0321 Â 8</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0322 Â 11</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0324 Â 15</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0325 Â 11</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0326 Â 9</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0327 Â 13</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0328 Â 9</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0329 Â 11</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0330 Â 11</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0332 Â 11</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0333 Â 14</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0334 Â 12</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0335 Â 10</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0336 Â 11</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0337 Â 9</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0338 Â 12</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0339 Â 6</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0340 Â 13</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0342 Â 12</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0343 Â 8</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0344 Â 13</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0345 Â 14</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0346 Â 11</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0347 Â 12</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0348 Â 13</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0349 Â 9</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0350 Â 8</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0352 Â 11</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0354 Â 10</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0355 Â 12</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0356 Â 18</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0357 Â 11</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0358 Â 14</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0359 Â 12</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0360 Â 17</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0362 Â 14</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0364 Â 10</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0365 Â 7</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0366 Â 15</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0367 Â 14</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0368 Â 15</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0369 Â 11</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0370 Â 11</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0372 Â 13</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0374 Â 5</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0375 Â 12</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0376 Â 11</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0377 Â 12</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0378 Â 15</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0379 Â 9</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0380 Â 10</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0382 Â 6</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0384 Â 6</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0385 Â 6</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0386 Â 7</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0387 Â 5</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0388 Â 5</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0389 Â 4</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0390 Â 6</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0392 Â 9</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0394 Â 5</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0395 Â 4</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0396 Â 0</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0397 Â 0</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0398 Â 0</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0399 Â 0</div>
      <div>/gate/source/xraygun/gps/histpoint Â 0.0400 Â 0 </div>
      <div>/gate/source/xraygun/gps/arbint Lin</div>
      <div>/gate/source/xraygun/gps/type Plane</div>
      <div>/gate/source/xraygun/gps/shape Rectangle</div>
      <div>/gate/source/xraygun/gps/halfx 0.5 mm</div>
      <div>/gate/source/xraygun/gps/halfy 0.5 mm</div>
      <div>/gate/source/xraygun/gps/mintheta 0 Â deg</div>
      <div>/gate/source/xraygun/gps/maxtheta Â 20 deg</div>
      <div>/gate/source/xraygun/gps/centre 0. 0 -30. cm</div>
      <div>/gate/source/xraygun/gps/angtype iso<br>
      </div>
      <div>/gate/source/list</div>
      <div><br>
        <br>
      </div>
      <p><br>
      </p>
      <div>**** COMMENT ****</div>
      <div><br>
      </div>
      <div>**** INPUTS ****</div>
      <div>kVp [kV] hvMIN [keV] Dhv [keV]</div>
      <div>80 Â 35 Â 1</div>
      <div>Angle [deg.]</div>
      <div>20</div>
      <div>t_AIR t_BE t_AL t_CU t_SN t_W t_Wa [mm]</div>
      <div>1000 Â 0 Â 1.8 Â 0.2 Â 0 Â 0 Â 0</div>
      <div>Nf P</div>
      <div>0.68 Â 0.33</div>
      <div>****CALCULATED OUTPUTS ****</div>
      <div>Brem[uGy/mAs@1m] Char[uGy/mAs@1m]</div>
      <div>18.27917 Â 0.5059507</div>
      <div>HVL1[cm AL] HVL2[cm AL] HVL1[cmCu] HVL2[cmCu] MeanE[keV]
        EffEAl[keV] EffECu[keV]</div>
      <div>0.6468978 Â 0.7113056 Â 0.0274761 Â 0.0345901 Â 52.70842
        Â 47.94336 Â 48.65286</div>
      <div>**** CALCULATED SPECTRUM ****</div>
      <div>Energy[keV] Â N[keV cm^2 mAs]^-1 @ 1 meter</div>
      <div>35 Â 1.187381e+6</div>
      <div>36 Â 1.280875e+6</div>
      <div>37 Â 1.364120e+6</div>
      <div>38 Â 1.438492e+6</div>
      <div>39 Â 1.499967e+6</div>
      <div>40 Â 1.553381e+6</div>
      <div>41 Â 1.594962e+6</div>
      <div>42 Â 1.629092e+6</div>
      <div>43 Â 1.652779e+6</div>
      <div>44 Â 1.669283e+6</div>
      <div>45 Â 1.675181e+6</div>
      <div>46 Â 1.676172e+6</div>
      <div>47 Â 1.669860e+6</div>
      <div>48 Â 1.657938e+6</div>
      <div>49 Â 1.640536e+6</div>
      <div>50 Â 1.618250e+6</div>
      <div>51 Â 1.591554e+6</div>
      <div>52 Â 1.558279e+6</div>
      <div>53 Â 1.525396e+6</div>
      <div>54 Â 1.488330e+6</div>
      <div>55 Â 1.450930e+6</div>
      <div>56 Â 1.407308e+6</div>
      <div>57 Â 1.364181e+6</div>
      <div>58 Â 1.804551e+6</div>
      <div>59 Â 2.125239e+6</div>
      <div>60 Â 1.226175e+6</div>
      <div>61 Â 1.177968e+6</div>
      <div>62 Â 1.127134e+6</div>
      <div>63 Â 1.076617e+6</div>
      <div>64 Â 1.026495e+6</div>
      <div>65 Â 974002.7</div>
      <div>66 Â 922461.9</div>
      <div>67 Â 1.174642e+6</div>
      <div>68 Â 815959.8</div>
      <div>69 Â 844593.3</div>
      <div>70 Â 687849.9</div>
      <div>71 Â 635229.3</div>
      <div>72 Â 583219.2</div>
      <div>73 Â 529320.2</div>
      <div>74 Â 474595.1</div>
      <div>75 Â 418300.2</div>
      <div>76 Â 356307.2</div>
      <div>77 Â 294032.1</div>
      <div>78 Â 231207.9</div>
      <div>79 Â 128305.2</div>
      <div>80 Â 0</div>
      <div><br>
        <br>
      </div>
      <p><br>
      </p>
      <p><br>
      </p>
      <p><br>
      </p>
      <div id="Signature">
        <div name="divtagdefaultwrapper"
          style="font-family:Calibri,Arial,Helvetica,sans-serif;
          font-size:; margin:0">
          <div class="BodyFragment">
            <div class="PlainText"
              style="font-family:Calibri,Arial,Helvetica,sans-serif"><font><br>
                <br>
                <font
                  style="font-family:Calibri,Arial,Helvetica,sans-serif"
                  size="2">--------------------------------</font><br>
                <font
                  style="font-family:Calibri,Arial,Helvetica,sans-serif"
                  size="2">MSc Student in Biomedical and Biophysics
                  Engineering at Faculty of Sciences of the University
                  of Lisbon</font><br>
                <br>
                <font
                  style="font-family:Calibri,Arial,Helvetica,sans-serif;
                  font-size:small" color="black" size="3"><span
                    dir="ltr" style="font-size:12pt;
                    background-color:white"><font size="2"><span
                        lang="en">Institute</span><span lang="en">
                      </span><span lang="en">of Biophysics and</span><span
                        lang="en"> </span><span lang="en">Biomedical
                        Engineering</span><span lang="en"><br>
                      </span><span lang="en">Faculty</span><span
                        lang="en"> </span><span lang="en">of Sciences,
                        University</span><span lang="en">
                      </span><span lang="en">of Lisbon</span><br>
                      Campo Grande<br>
                      1749-016 Lisbon<br>
                      <br>
                    </font></span></font><font size="2"><font
                    style="font-family:Calibri,Arial,Helvetica,sans-serif">Room
                    Office: 1.02</font><br>
                  <font
                    style="font-family:Calibri,Arial,Helvetica,sans-serif"
                    color="black"><span dir="ltr"
                      style="background-color:white">Extension: 20509
                      <br>
                      Email: <a class="moz-txt-link-abbreviated" href="mailto:ammonteiro@fc.ul.pt">ammonteiro@fc.ul.pt</a></span></font></font></font></div>
            <div class="PlainText"><font size="2"><font
                  style="font-family:Calibri,Arial,Helvetica,sans-serif"
                  color="black"><span dir="ltr"
                    style="background-color:white">LinkedIn Profile: </span></font><font
                  style="text-decoration:none; line-height:21px;
                  background-color:rgb(255,255,255)" color="#000000"><a
                    moz-do-not-send="true" tabindex="0"
                    href="http://linkedin.com/in/andremmonteiro">http://linkedin.com/in/andremmonteiro</a></font><font
                  style="font-family:Calibri,Arial,Helvetica,sans-serif"
                  color="black"><span dir="ltr"
                    style="background-color:white"><br>
                    Website: <a moz-do-not-send="true" tabindex="0"
                      href="http://www.ibeb.fc.ul.pt/" target="_blank">http://www.ibeb.fc.ul.pt/</a></span></font></font><br>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Gate-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a>
<a 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>
    <br>
    Dear André Miguel Monteiro,<br>
    <br>
    you can simply replace the histogram values in the CT-example by any
    histogram values you like. <br>
    Keep in mind that:<br>
    Â Â Â  - Unit of energy values = MeV <br>
    Â Â Â  - Max. number of histogram points = 1024<br>
    <br>
    It might be useful to generate the histpoint lines by a script. <br>
    Assuming the file "SpekCalc.dat" contains the SpekCalc simulation
    result in ASCII file format, <br>
    you can use Matlab/Octave for instance:<br>
    <blockquote><i>spec_in = load('SpekCalc.dat');</i>  <i>  %output of
        SpekCalc simulation; assumed to be an ASCII file</i><br>
      <i>energ = spec_in(:,1)/1000;    Â Â Â  Â Â  %keV->MeV</i><br>
      <i>intens = spec_in(:,2);</i><br>
      <i>fileID = fopen('source_tmp.txt','w');</i><br>
      <i>for i = 1 : length(energ)</i><br>
      <i>    str = ['fprintf(fid,''/gate/source/xraygun/gps/histpoint ',
        num2str(energ(i)),' ', num2str(intens(i)),' \n'');'];</i><br>
      <i>    fprintf(fileID,'%s\n',str);</i><br>
      <i>end</i><br>
      <i>fclose(fileID);</i><br>
    </blockquote>
    <br>
    Best regards,<br>
    Simon Schlesinger<br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Dipl.-Phys. Simon Schlesinger
Bergische Universität Wuppertal
FB C - Physik, G11.07a

Tel.: 0202 / 439 - 2804
Mobil: 0151 / 401 21 890
Mail: <a class="moz-txt-link-abbreviated" href="mailto:schlesinger@uni-wuppertal.de">schlesinger@uni-wuppertal.de</a>
Web: <a class="moz-txt-link-freetext" href="http://www.techphys.uni-wuppertal.de">http://www.techphys.uni-wuppertal.de</a></pre>
  </body>
</html>