Man page - mxdisplay-webgl-classic(1)
Packages contains this manual
apt-get install mcxtrace-mxdisplay-webgl-classic
Manual
mxDISPLAY-WEBGL-CLASSIC
NAMESYNOPSIS
DESCRIPTION
OPTIONS
FILES
EXAMPLES
AUTHORS
SEE ALSO
AUTHORS
NAME
mxdisplay-webgl-classic - mcxtrace Graphical display of simulations using WebGL (in a browser)
SYNOPSIS
mxdisplay-webgl-classic [-h] [âdefault] [âdirname DIRNAME] [âinspect INSPECT] [ânobrowse] [âinvcanvas] [âfirst FIRST] [âlast LAST] [-n N] INSTR [options ...]
DESCRIPTION
The mxdisplay-webgl-classic front-end is a graphical debugging tool. It presents a schematic drawing of the instrument definition, showing the position of the components and the paths of the simulated xrays through the instrument. It is thus very useful for debugging a simulation, for example to spot components in the wrong position or to find out where xrays are getting lost. To use the mxdisplay-webgl-classic front-end with a simulation, run it as follows: mxdisplay-webgl-classic INSTR args... where INSTR is the name of either the instrument source INSTR.instr or the simulation program INSTR.out generated with mcxtrace, and args are the normal command line arguments for the simulation, as for mxrun . The -h option will list valid options.
This is the classic WebGL (browser) plotting tool.
OPTIONS
|
INSTR |
Displays the given mcxtrace 3D model with its defaults/current parameters. |
name1=value1 ...
Displays the given mcxtrace model with given parameters.
-h, âhelp
show this help message and exit
âdefault
automatically use instrument defaults for simulation run
âdirname DIRNAME
output directory name override
âinspect INSPECT
display only particle rays reaching this component
ânobrowse
do not open a webbrowser viewer
âinvcanvas
invert canvas background from black to white
âfirst FIRST
zoom range first component
âlast LAST
zoom range last component
-n N, âncount N
Number of particles to simulate
FILES
/usr/share/mcxtrace/tools/Python /usr/share/mcxtrace/tools/Python/mccodelib/mccode_config.json ~/.mcxtrace/mccode_config.json http://www.mcxtrace.org
EXAMPLES
Display the Test_SX example (Single crystal diffraction)
|
⢠|
mxdisplay-webgl-classic Test_SX.instr -n 1e2 TTH=13.4 |
AUTHORS
mcxtrace Team (mcxtrace.org)
SEE ALSO
mcxtrace(1), mxdoc(1), mxplot(1), mxrun(1), mxgui(1), mxdisplay(1)
AUTHORS
mcxtrace xray Ray Tracing Team.