|
NAMEmcxtrace - Compiler of the McXrace X-ray trace simulation packageSYNOPSISmcxtrace [-o file][-I dir1 ...][-tv][--verbose] file.instrDESCRIPTIONThe mcxtrace command is the instrument compiler of the McXtrace package.McXtrace is a general tool for simulating x-ray scattering instruments and experiments. It is actively supported by DTU Physics, ESRF, and University of Copenhagen McXtrace is based on a compiler [mcxtrace(1)] that reads a high-level specification language defining the instrument to be simulated and produces C code that performs the Monte Carlo Simulation. The system is very fast in use, both when setting up the instrument definition and when doing calculations. McStas supports all x-ray scattering instruments. It comes with a comprehensive manual and a library of well-tested components that include most standard elements of x-ray scattering instruments, including steady-state and pulsed sources, monochromators/analysers, powder samples, choppers, and a variety of detectors. To start mcxtrace, use: mxgui(1) The package consists of the following user commands:
We encourage users to refer to the User and Component Manuals, which are available with the command mxdoc OPTIONS
INSTRUMENT OPTIONSThese options apply to the generated instrument code (foo.c and foo.out)
EXAMPLESThe three following examples are equivalent to the single command: mxrun -c foo.instr param1=value1 ...
ENVIRONMENTThe MCXTRACE environment variable may be set to define the McStas library location. This is /usr/local/lib/mcstas on Linux systems. Executables are usually located in /usr/local/bin. The default McXtrace configuration file is MCXTRACE/tools/perl/mcstas_config.perl, but may be overridden on the user level by putting a copy in HOME/.mcxtrace/.The MCXTRACE_FORMAT environment variable may be set to define the default data format used for storing results. This is usually 'PGPLOT'. BUGSMcXtrace is a large package, and bugs might be found. If so, please report to http://trac.mccode.org and the mailing list mcxtrace-users@mcxtrace.orgEXIT STATUSmcxtrace returns 1 in case of error, 0 when all went fineAUTHORErik B Knudsen, Peter Kjaer Willendrup, Emmanuel FARHI, Kim Lefmann, Søren SchmidtSEE ALSOmcxtrace(1), mxrun(1), mxdisplay(1), mxplot(1), mxgui(1), mxdoc(1), mxformat(1)web site: <http://www.mcxtrace.org> mailing list: <mailto:mcxtrace-users@mcxtrace.org> matlab(1), octave(1)
Visit the GSP FreeBSD Man Page Interface. |