Open ferdymercury opened 4 years ago
Hi Fernando,
Thank you for suggestions. If you go to one of wiki pages: https://github.com/topasmc/dicom-interface/wiki/using-machine-description-file You will see machine-description-file is what you want. However, the source code in my department's github page and needs to be migrated to here. I will be doing this in a week or sooner.
I also feel strongly we need to have a CT-material conversion rule somewhere in machine-description-file and/or treatment machine.. I would like to have both implementations..
Some users may want to avoid having to code their beam models in C++ and recompile the software. One solution would be to implement a 'generic beam model' that allows the specification of settings via one or several INI file, and that defaults back to some standard values if this INI file is not provided. This would easen implementation for newbies. It would also solve the problem with 'private beam models' that force now the use of a private repository and a public repository.
For example a beammodel.ini:
(JSON format could also be a nice option)
and a separate materialmodel.ini
See e.g. https://github.com/benhoyt/inih https://tuttlem.github.io/2012/12/26/a-simple-c-ini-file-reader.html https://stackoverflow.com/questions/6175502/how-to-parse-ini-file-with-boost
Potential benefits of this approach:
Drawbacks: