mxDISPLAY-MATLAB(1) mxDISPLAY-MATLAB(1)

mxdisplay-matlab - mcxtrace Graphical display of simulations using Matlab/Octave

mxdisplay-matlab [-hom] [-png|-jpg|-fig|-eps|-pdf|-tif] [–inspect=COMP] INSTR name=value...

The mxdisplay-matlab 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-matlab front-end with a simulation, run it as follows: mxdisplay 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.

The default plotting backend is mxdisplay-pyqtgraph, but there exists a number of additional plotters such as mxdisplay-matplotlib, mxdisplay-webgl-classic (using WebGL), mxdisplay-webgl (using WebGL and NodeJS), mxdisplay-matlab (using Matlab or Octave). This is the Matlab/Octave plotting tool.

Displays the given mcxtrace 3D model with its defaults/current parameters.
Displays the given mcxtrace model with given parameters.
Number of particles to simulate
[-png|-jpg|-fig|-eps|-pdf|-tif]
Same as above, and specifies an output file format to generate. Possible save_as are -png -pdf -fig -tif -jpg -eps
–inspect=COMP
Same as above, and only plot component names that match COMP, given as a single component word for partial match, such as Monitor a component interval such as Monok:Sample or 2:10 or 2:end
Explicitely request to use Matlab
Explicitely request to use Octave

/usr/share/mcxtrace/tools/matlab /usr/share/mcxtrace/tools/Python/mccodelib/mccode_config.json ~/.mcxtrace/mccode_config.json http://www.mcxtrace.org

mxdisplay-matlab Test_SX.instr -n 1e2 TTH=13.4

mcxtrace Team (mxstas.org)

mxstas(1), mxdoc(1), mx(1), mxrun(1), mxgui(1), mxdisplay(1)

MCXTRACE xray Ray Tracing Team.

git
QR Code