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

8.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-8.0.tar.gz (912.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

topasgraphsim-8.0-py3-none-any.whl (950.8 kB view details)

Uploaded Python 3

File details

Details for the file topasgraphsim-8.0.tar.gz.

File metadata

  • Download URL: topasgraphsim-8.0.tar.gz
  • Upload date:
  • Size: 912.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for topasgraphsim-8.0.tar.gz
Algorithm Hash digest
SHA256 b89779de1444257b238dfbc124e4996b9291af2987d3f5b293bee1f60b9e4cc5
MD5 3d0e09182406d2813a169ffb2ef976a2
BLAKE2b-256 780b98911f2f453738e28315c8f10df5d8258d1cfb31f20a341eccab693ce358

See more details on using hashes here.

File details

Details for the file topasgraphsim-8.0-py3-none-any.whl.

File metadata

  • Download URL: topasgraphsim-8.0-py3-none-any.whl
  • Upload date:
  • Size: 950.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for topasgraphsim-8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 87eca8928c9fcdd5b66c56e531a7d6315a6f750d6e008ee8273e8f54b44062ba
MD5 0ead4ca6614d94d8018f53e44fd7a1c8
BLAKE2b-256 05d5d637267af325397c11e9d489488e2a2fd11ebd94200d3cd52e0cd153c996

See more details on using hashes here.

Supported by

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