|
|
|
|||
|
About McXtrace Documentation |
5.1 Brief introduction to the graphical user interfaceThis section gives an ultra-brief overview of how to use McXtrace once it has been properly
installed. It is intended for those who do not read manuals if they can avoid it.
For details on the different steps, see the following sections. This section uses the
To start the graphical user interface of McXtrace, run the To load an instrument, select “New from Template” (formerly known as the “X-ray Site”
menu) and open the template/example
Next, select “Run simulation” from the “Simulation” menu. The McXtrace compiler
mcxtrace will translate the definition into an executable program. Then mxgui will pop up a
dialog window. Type a value for the “ROT” parameter (e.g. 90), check the “Plot results”
option, and select “Start”. The simulation will run, and when it finishes after a while the
results will be plotted in a window, using one of the Python plotting back-ends (matplotlib,
pyqtgraph or an HTML/browser view), see section 5.4.6. For other options, execute
To visualize or debug the simulation graphically, repeat the steps but check the “Trace” option instead of the “Simulate” option. A window will pop up showing a sketch of the instrument, drawn by the mxdisplay front-end (section 5.4.5), again using one of the matplotlib, pyqtgraph or webGL back-ends. For a slightly longer gentle introduction to McXtrace, see the McXtrace tutorial (available
from [Mcx]), and as of version 3.10.4 built into the |
||||
| |||||