GUI to plot the results of a topas simulation
Project description
topasgraphsim
A script to automatically plot the results of a topas simulation
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. Language is in german.
Installation
Install using pip install topasgraphsim. Then, start the GUI by running:
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-3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3633e1dc0417e62f6161d83170db918572e9f5b132a9df5ec69d27efa4054cc5 |
|
MD5 | eb1e6612bfc32489a882cbbef5ef6852 |
|
BLAKE2b-256 | 51e5f4c9f3bf721a1aec33a7df9a0a39ff330135abff98ceca74d058cc5727a6 |