Skip to main content

GUI to plot the results of a topas simulation

Project description

topasgraphsim

Am interface to automatically plot and interpret the results of TOPAS simulations

This GUI can visualize and analyze percentage depth dose (pdd) and dose profiles (dp) simulations from TOPAS. Depth dose measurements are assumed to be in the z-direction, dose profiles in the x- or y-directions. Data read-in is handled by topas2numpy.


Screenshot 2022-01-24 170455

Features

  • Simultaneous plotting and parameter calculation for up to 5 datasets
  • Graph adjustment options (marker size and line width)
  • Reproducible graphing of simulation results
  • Import of measurement results (including PTW tbaScan data)
  • Optional zoom-in window
  • Easy to use keyboard shortcuts
  • Toggle for data normalization
  • German and english language support
  • Dark mode

Installation

Install using pip:

pip install topasgraphsim     

Then, start the GUI by running:

python -m topasgraphsim

Calculated parameters

Measurement type Parameters
Depth dose Q-Factor zmax
Dose profile FWHM CAXdev FLATKrieger FLATstddev Penumbra (L&R) Integral (L&R)
  • Q-Factor : Radiation Quality Factor

  • zmax : Depth at Maximum

  • FWHM : Full-Width at Half-Maximum

  • CAXdev : Centre Axis Deviation

  • FLATKrieger : Flatness of Dose Plateau (Definitionby Krieger)

  • FLATstddev : Flatness of Dose Plateau (Standard Deviation)

  • Penumbra (L&R) : Width of Left and Right Penumbra

  • Integral (L&R) : Integral below Left and Right Penumbra

Dependencies

Built using the beautiful Azure-ttk theme by @rdbende. Requires python3, numpy, scipy, matplotlib, Pillow, python-opencv, pywin32, topas2numpy and tkinter.

Project details


Release history Release notifications | RSS feed

This version

14.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

topasgraphsim-14.0.tar.gz (914.8 kB view hashes)

Uploaded Source

Built Distribution

topasgraphsim-14.0-py3-none-any.whl (953.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page