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.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32c1dfbbface95081d451c3a2806794a999fb91c153d07cfc9ed424b80de28c5 |
|
MD5 | c9ab45e4da32ae61ead99992727d4d43 |
|
BLAKE2b-256 | 7b6fe5be61678d792115276a472ef62576f1b9c50babe2636f176f4326bbda77 |