Hi, dear Chirs.
I tried this package (https://fluka-forum.web.cern.ch/t/sampling-from-energy-spectra/515) but could not get my external spectra to work with it. I can run the example spectra no problem yet every time I try to run my spectra file it just gives out error message saying that the Fluence data on column 3 is invalid. I used Excel to separate the data into 3 different columns and then save it as .csv file (comma delimited/ tab delimited/ space delimited but none of them work). So I guess my question is what is a better way to generate these spectrum files?
The attached is my spectra file.TS.inp (1.6 KB)
Thanks in advance.
Martin