Purpose: Provide a simple research tool that may be used to calculate the NCTP or TCP of a particular treatment plan. Illustrate the implementation of the EUD-based NTCP and TCP models as a research tool.
Methods and materials: A high-level computing language was chosen to implement Niemierko's EUD-based NTCP and TCP mathematical models. The necessary treatment planning software requirements were clearly defined.
Results: The computer code is presented and explained. Six simple examples were created to quickly troubleshoot the reader's code implementation. A table of model parameters based on the Emami data was generated.