sebasj13 / topasgraphsim Goto Github PK
View Code? Open in Web Editor NEWA GUI to simplify and streamline the plotting and analysis of medical physics simulations
Home Page: https://pypi.org/project/topasgraphsim
License: MIT License
A GUI to simplify and streamline the plotting and analysis of medical physics simulations
Home Page: https://pypi.org/project/topasgraphsim
License: MIT License
Show the calculated parameters in a table below the graph
Including:
*author
*version
Add option to change line style (solid, dashed, dotted, dashdot).
Self-explanatory
For single viewing only, when adding graphs to the view always normalize
import pymedphys
gamma = pymedphys.gamma(
(data[0][0],), data[0][1], (data[1][0],), data[1][1], 1, 1
)
valid_gamma = gamma[~np.isnan(gamma)]
pass_ratio = np.sum(valid_gamma <= 1) / len(valid_gamma)
print(pass_ratio)
Add "descriptors" + "Show parameter table" for measurements
Firstly, this is really nice! i have been vaguely contemplating if I should do something like this given the number of how 'how do I plot...' questions on the forums. Nice to see.
The following are some comments/questions/suggestions. Feel free to ignore any that aren't helpful!
sudo apt install python3.9-dev
before this package would install. It was some issue with a package called evdevif, elif
statements where it would be a good idea to put a final else: raise NotImplementedError
[TODO] Use topas2numpy to allow for more diverse input files
Create a .profile with language preferences
ptw_import currently has an issue with .mcc files, that contain
INPLANE_AXIS=y CROSSPLANE_AXIS=x DEPTH_AXIS=z
instead of uppercase letters.
3ddose dataset shows y-axis label "mm" if not normalized. --> "Dose [Gy/history]"
Maybe add optionial or permanent label for relative dose distributions e.g. "Relative Dosis"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.