I have a precise energy spectrum for a clinical LINAC and is energy-fluence as a function of energy. I cannot figure out the documentation on the use of histograms as input in the macro file gps commands. I have also seen the examples which use the
/gps/hist/point command. I have tried also to create 600 bins with each energy I require using the command above and I have also tried using a .txt file as input. These tries either result in no output or create a completely wrong spectrum. Can anyone explain clearly how to make use of the hist feature in gps so that I can recreate exactly the LINAC spectrum as a gps source?
Thanks for your time!