[Gate-users] CT simulation

Wei Zhao zhihuaigu at 163.com
Fri Dec 12 02:15:07 CET 2014


Dear bizhan bakhtiyari,

Just simply replace the activity with the x-ray spectrum histogram. You 
need to generate the x-ray spectrum first. A sample code is listed as 
follows.

Best
Wei Zhao

/gate/source/xraygun/gps/energytype Arb
/gate/source/xraygun/gps/histname arb
/gate/source/xraygun/gps/emin 0.00 keV
/gate/source/xraygun/gps/emax 125.00 keV
/gate/source/xraygun/gps/histpoint    0    0
/gate/source/xraygun/gps/histpoint    0.001    0
/gate/source/xraygun/gps/histpoint    0.002    0
/gate/source/xraygun/gps/histpoint    0.003    0
/gate/source/xraygun/gps/histpoint    0.004    0
/gate/source/xraygun/gps/histpoint    0.005    0
/gate/source/xraygun/gps/histpoint    0.006    0
/gate/source/xraygun/gps/histpoint    0.007    0
/gate/source/xraygun/gps/histpoint    0.008    0
/gate/source/xraygun/gps/histpoint    0.009    0
/gate/source/xraygun/gps/histpoint    0.01    1.97E-21
/gate/source/xraygun/gps/histpoint    0.011    1.85E-17
/gate/source/xraygun/gps/histpoint    0.012    3.17E-14
/gate/source/xraygun/gps/histpoint    0.013    9.76E-12
/gate/source/xraygun/gps/histpoint    0.014    7.31E-10
/gate/source/xraygun/gps/histpoint    0.015    2.07E-08
/gate/source/xraygun/gps/histpoint    0.016    2.22E-07
/gate/source/xraygun/gps/histpoint    0.017    2.00E-06
/gate/source/xraygun/gps/histpoint    0.018    1.08E-05
/gate/source/xraygun/gps/histpoint    0.019    3.55E-05
/gate/source/xraygun/gps/histpoint    0.02    8.73E-05
/gate/source/xraygun/gps/histpoint    0.021    0.000177181
/gate/source/xraygun/gps/histpoint    0.022    0.000336726
/gate/source/xraygun/gps/histpoint    0.023    0.000605683
/gate/source/xraygun/gps/histpoint    0.024    0.001025276
/gate/source/xraygun/gps/histpoint    0.025    0.001598422
/gate/source/xraygun/gps/histpoint    0.026    0.002354139
/gate/source/xraygun/gps/histpoint    0.027    0.003249567
/gate/source/xraygun/gps/histpoint    0.028    0.004297264
/gate/source/xraygun/gps/histpoint    0.029    0.005401646
/gate/source/xraygun/gps/histpoint    0.03    0.006552265
/gate/source/xraygun/gps/histpoint    0.031    0.007612183
/gate/source/xraygun/gps/histpoint    0.032    0.008735228
/gate/source/xraygun/gps/histpoint    0.033    0.009823944
/gate/source/xraygun/gps/histpoint    0.034    0.010940895
/gate/source/xraygun/gps/histpoint    0.035    0.011936272
/gate/source/xraygun/gps/histpoint    0.036    0.012880409
/gate/source/xraygun/gps/histpoint    0.037    0.013707966
/gate/source/xraygun/gps/histpoint    0.038    0.014468915
/gate/source/xraygun/gps/histpoint    0.039    0.015146989
/gate/source/xraygun/gps/histpoint    0.04    0.015766754
/gate/source/xraygun/gps/histpoint    0.041    0.016224746
/gate/source/xraygun/gps/histpoint    0.042    0.016631957
/gate/source/xraygun/gps/histpoint    0.043    0.016987472
/gate/source/xraygun/gps/histpoint    0.044    0.01731577
/gate/source/xraygun/gps/histpoint    0.045    0.017525185
/gate/source/xraygun/gps/histpoint    0.046    0.017657463
/gate/source/xraygun/gps/histpoint    0.047    0.017841841
/gate/source/xraygun/gps/histpoint    0.048    0.017984919
/gate/source/xraygun/gps/histpoint    0.049    0.017891301
/gate/source/xraygun/gps/histpoint    0.05    0.017750625
/gate/source/xraygun/gps/histpoint    0.051    0.017657658
/gate/source/xraygun/gps/histpoint    0.052    0.01752885
/gate/source/xraygun/gps/histpoint    0.053    0.017384605
/gate/source/xraygun/gps/histpoint    0.054    0.017208614
/gate/source/xraygun/gps/histpoint    0.055    0.017129851
/gate/source/xraygun/gps/histpoint    0.056    0.017027522
/gate/source/xraygun/gps/histpoint    0.057    0.023777414
/gate/source/xraygun/gps/histpoint    0.058    0.03067716
/gate/source/xraygun/gps/histpoint    0.059    0.036647517
/gate/source/xraygun/gps/histpoint    0.06    0.042672584
/gate/source/xraygun/gps/histpoint    0.061    0.030372104
/gate/source/xraygun/gps/histpoint    0.062    0.017801256
/gate/source/xraygun/gps/histpoint    0.063    0.016130417
/gate/source/xraygun/gps/histpoint    0.064    0.014418145
/gate/source/xraygun/gps/histpoint    0.065    0.014086456
/gate/source/xraygun/gps/histpoint    0.066    0.013706294
/gate/source/xraygun/gps/histpoint    0.067    0.01826791
/gate/source/xraygun/gps/histpoint    0.068    0.022886432
/gate/source/xraygun/gps/histpoint    0.069    0.018767689
/gate/source/xraygun/gps/histpoint    0.07    0.014496425
/gate/source/xraygun/gps/histpoint    0.071    0.0122274
/gate/source/xraygun/gps/histpoint    0.072    0.009937982
/gate/source/xraygun/gps/histpoint    0.073    0.00952354
/gate/source/xraygun/gps/histpoint    0.074    0.009067821
/gate/source/xraygun/gps/histpoint    0.075    0.008973218
/gate/source/xraygun/gps/histpoint    0.076    0.008897871
/gate/source/xraygun/gps/histpoint    0.077    0.008676288
/gate/source/xraygun/gps/histpoint    0.078    0.008413924
/gate/source/xraygun/gps/histpoint    0.079    0.008248903
/gate/source/xraygun/gps/histpoint    0.08    0.007974843
/gate/source/xraygun/gps/histpoint    0.081    0.007806576
/gate/source/xraygun/gps/histpoint    0.082    0.007514464
/gate/source/xraygun/gps/histpoint    0.083    0.007467594
/gate/source/xraygun/gps/histpoint    0.084    0.007206599
/gate/source/xraygun/gps/histpoint    0.085    0.006973839
/gate/source/xraygun/gps/histpoint    0.086    0.006737494
/gate/source/xraygun/gps/histpoint    0.087    0.006607583
/gate/source/xraygun/gps/histpoint    0.088    0.006479558
/gate/source/xraygun/gps/histpoint    0.089    0.006241022
/gate/source/xraygun/gps/histpoint    0.09    0.005998739
/gate/source/xraygun/gps/histpoint    0.091    0.005822729
/gate/source/xraygun/gps/histpoint    0.092    0.005640955
/gate/source/xraygun/gps/histpoint    0.093    0.005438751
/gate/source/xraygun/gps/histpoint    0.094    0.005216879
/gate/source/xraygun/gps/histpoint    0.095    0.005029371
/gate/source/xraygun/gps/histpoint    0.096    0.004841829
/gate/source/xraygun/gps/histpoint    0.097    0.004678147
/gate/source/xraygun/gps/histpoint    0.098    0.004515342
/gate/source/xraygun/gps/histpoint    0.099    0.004354216
/gate/source/xraygun/gps/histpoint    0.1        0.004191951
/gate/source/xraygun/gps/histpoint    0.101    0.00401573
/gate/source/xraygun/gps/histpoint    0.102    0.003833609
/gate/source/xraygun/gps/histpoint    0.103    0.003688015
/gate/source/xraygun/gps/histpoint    0.104    0.003508488
/gate/source/xraygun/gps/histpoint    0.105    0.003326684
/gate/source/xraygun/gps/histpoint    0.106    0.00314817
/gate/source/xraygun/gps/histpoint    0.107    0.002951353
/gate/source/xraygun/gps/histpoint    0.108    0.002757479
/gate/source/xraygun/gps/histpoint    0.109    0.002595879
/gate/source/xraygun/gps/histpoint    0.11    0.002424109
/gate/source/xraygun/gps/histpoint    0.111    0.002229053
/gate/source/xraygun/gps/histpoint    0.112    0.002034752
/gate/source/xraygun/gps/histpoint    0.113    0.001950795
/gate/source/xraygun/gps/histpoint    0.114    0.001862434
/gate/source/xraygun/gps/histpoint    0.115    0.001667061
/gate/source/xraygun/gps/histpoint    0.116    0.00145003
/gate/source/xraygun/gps/histpoint    0.117    0.00132603
/gate/source/xraygun/gps/histpoint    0.118    0.001204806
/gate/source/xraygun/gps/histpoint    0.119    0.001065028
/gate/source/xraygun/gps/histpoint    0.12    0.000910097
/gate/source/xraygun/gps/histpoint    0.121    0.000781431
/gate/source/xraygun/gps/histpoint    0.122    0.000605117
/gate/source/xraygun/gps/histpoint    0.123    0.00043252
/gate/source/xraygun/gps/histpoint    0.124    0.000316075
/gate/source/xraygun/gps/histpoint    0.125    0





More information about the Gate-users mailing list