GUI to plot the results of a topas simulation
Project description
topasgraphsim
A interface to automatically plot the results of topas simulations and measurements
Works for percentage depth dose (pdd) and dose profiles (dp). Depth dose measurements are assumed to be in the z-direction, dose profiles in the x- or y-directions.
Available languages: english and german.
Installation
Install using pip:
pip install topasgraphmc
Then, start the GUI by running:
python -m topasgraphsim
Automatically calculates relevant 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
Assumes a ".csv" input file format from a TOPAS Scorer with the following header format:
# TOPAS Version: {...}
# Parameter File: {...}.txt
# Results for scorer {...}
# Scored in component: {...}
# X in {...} bin of {...} cm
# Y in 1 {...} of {...} cm
# Z in {...} bins of {...} cm
# DoseToMedium ( Gy ) : {Sum/Mean} Standard_Deviation
Voxel Coordinate X, Voxel Coordinate Y, Voxel Coordinate Z, {Sum/Mean} Value, Standard_Deviation Value
.
.
.
Dependencies
Uses the beautiful Azure-ttk dark theme by @rdbende. Requires python3, numpy, scipy, matplotlib, Pillow, python-opencv, pywin32, and tkinter.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for topasgraphsim-4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf6ca346fd546a919e7423f0baa0373e570934f923ce32f9e0a44448037c7cc9 |
|
MD5 | 6a7af134c4f7bc006d2c6230ea3127eb |
|
BLAKE2b-256 | dc23b435c3c93607c5e1923f3e25b242323b20ba935a3097e7871cef90769e33 |