XINPUT: A program to edit 'DOSRZ' input files

Marc H. Lauterbach, Jörg Lehmann, Ulf F. Rosenow

Research output: Contribution to journalArticle

Abstract

The DOSRZ user code, which is part of the EGS4 standard distribution, is widely used in medical physics for the calculation of dose deposition in cylindrical geometries. The code provides the use of advanced Monte-Carlo techniques (PRESTA) and variance reduction methods. In the case of complex cylinder geometries the input of coordinates and radii is not only tedious but also prone to a high error rate. Coordinates are to be stated in absolute numbers. A change of one number, e.g., the slab thickness, requires the change of all subsequent numbers. Furthermore, parameters are only stated as numbers with no indication of their meaning. Obviously, there is a need for a user interface to facilitate the input for DOSRZ and to largely reduce the possibility for errors. We, therefore, wrote a graphical user interface (GUI) consisting of an input mask, a coordinate input interpreter, and a two- dimensional and/or pseudo-three-dimensional display section. The GUI is based on the scripting language Tcl/Tk, which runs under various platforms such as UNIX (LINUX), W95, and WIN NT. It consists of a main window which provides common-style menus and buttons to navigate through the edit dialog boxes. The most important tools are the region input, which enables the user to create the simulation geometry, and the graphics section where the scaled output can be displayed. Different media are shown in different colors which are user defined. Furthermore, the program contains some tools to reduce the probability of an erroneous input in the EGS4 input file. Since Tcl/Tk is a modern scripting language, it offers advanced tools to create the GUI and to 'glue' different applications to it. XINPUT may also be considered as a model program for the development of a more general interface to other input areas of the EGS4 simulation code.

Original languageEnglish (US)
Pages (from-to)760-762
Number of pages3
JournalMedical Physics
Volume26
Issue number5
DOIs
StatePublished - May 1999
Externally publishedYes

Keywords

  • DOSRZ
  • EGS4
  • Geometry modeling
  • Graphical user interface
  • Tcl/Tk

ASJC Scopus subject areas

  • Biophysics

Fingerprint Dive into the research topics of 'XINPUT: A program to edit 'DOSRZ' input files'. Together they form a unique fingerprint.

  • Cite this

    Lauterbach, M. H., Lehmann, J., & Rosenow, U. F. (1999). XINPUT: A program to edit 'DOSRZ' input files. Medical Physics, 26(5), 760-762. https://doi.org/10.1118/1.598584