libamtrack / web Goto Github PK
View Code? Open in Web Editor NEWWeb interface for libamtrack
Home Page: https://libamtrack.github.io/web/
License: GNU General Public License v3.0
Web interface for libamtrack
Home Page: https://libamtrack.github.io/web/
License: GNU General Public License v3.0
Right now user sees a mix of plotting ("multiple") and calculating ("single") functions.
This is a bit misleading and not what user expects at first glance.
What do you think of grouping them (i.e. on main page) in two separate groups ?
One would be "plot" for example on the top of the page and another one would be "calculate" and seen in the bottom of the page (probably much less used).
There could be also another solution if you have some.
Main reason behind that is to be more clean on the presentation level.
To reproduce go to:
https://libamtrack.github.io/web/#StoppingPower/Massstoppingpower
Axis scales are log-log
Before clicking on "Submit" click button Plot as "Line".
Axis are changing to lin-lin - why ?
Right now files with data ("Download" option) are bit tricky to digest:
I propose to:
#haha
line"
from fields with numerical data: 0.1,0.014651766707559846
instead of "0.1","0.014651766707559846"
What do you think of saving multiple series in many-columns format, instead of appending the data below ?
On the page https://libamtrackweb.readthedocs.io/en/latest/add_function.html I find the information:
Prepare special JavaScript wrapper function to use compiled from C library function. Use JSFunctionGenerator to quickly get wrapper method from C function’s signature.
Where should I put the autogenerate JS file ?
I had some problems with setting correct values for functions that I added in #74. I tried to find them directly in library repository but it was very difficult. Could you @grzanka specify values or ranges which will be appropriate for that functions?
I especially mean function CSDA Energy After Slab
but for all this functions when you insert incorrect parameters the application will crash. Error messages appearing in browser console aren't very helpful:
Here is a very dirty list of tasks and things to correct, quickly written in the plane. Feel free to migrate them to separate issues
Beta From Energy Single
Beta From Energy
"Energy From Beta Single"
"Energy From Beta"
"Energy Of Particle With Given Momentum Single"
"Energy Of Particle With Given Momentum"
"Relativistic Momentum Per Nucleon Of Particle Single"
"Relativistic Momentum Per Nucleon Of Particle"
"Relativistic Momentum Per Nucleon Of Particle":
"Maximum Electron Range Single"
"Mass stopping power with no"
"Effective Charge From Beta Barkas-Bethe Single"
by default: carbon ion
beta 0.1
no output units
"Effective Charge From Beta Barkas-Bethe"
by default proton
start at 0, end at 0.6, 500 points forming geometrical series
by default logarithmic scale on X, linear scale on Y
"Effective Charge From Energy Barkas-Bethe Single"
energy: 10
particle: C
no output units
energy units: "MeV/amu"
"Effective Charge From Beta Barkas-Bethe"
start 0.01, end 100, 500 points forming geometrical series
no output units
by default logarithmic scale on X, linear scale on Y
energy units: "MeV/amu", not "MeV"
Many configuration files have validators for input.
I think is not important issue, but leave it for future.
It would be nice (although with low priority) a "status message", i.e. in the header, with the information about date of deployment to GH pages and commit hash. Small font, just for debugging.
Investigate overflows in compiled functions.
optionally generate .wasm file with travis
Old browsers like IE or old chrome versions do not have build support for WASM, we should display some warning or info to user about it. #62
Now Physics Routines is the biggest category, maybe we ca split it in two or thre subcategories?
When plotting mass stopping power I'd like to have:
This would probably require setting some default parameters in javascript code
This would probably require a bit of javascript coding
We need to find a solution to problem with functions that have parameters which are dependent each other.
For example:
RDD Model defines number of allowed RDD Model Parameters
Also require a bit more of Javascript coding
Currently there is only default plotly.js name "trace X", where "X" is number from 0 to ...
Show alert when trying to run big task for large arrasy biger than 100k
use "-s ALLOW_MEMORY_GROWTH=1" during compilation to JS/WASM
For CSDA Range
when we choose particles and materials from end of the list, application has problem with memory. @marwin1991, probably we should compile library with flag allowing to expand memory size in runtime?
This problem is related with #76.
I leave it here because it is interesting topic.
Please investigate https://libamtrack.github.io/web/#TrackStructure/RadialDoseDistribution ?
It looks that all the needed numbers are in the JSON file, but still this is not reflected in UI:
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.