root/branches/mcstas-1.x/mcgui.1

Revision 1918, 4.2 KB (checked in by farhi, 5 years ago)

mcformatgui now also detects binary stuff and may record a Log file.
Plus cosmetics

Line 
1.TH mcgui 1  "" "McStas X.Y.Z, Month Day, Year" "USER COMMANDS"
2.SH NAME
3mcgui \- graphical user interface of the McStas neutron ray-trace simulation package
4.SH SYNOPSIS
5.B mcgui
6[\-\-open] [file.instr]
7.SH DESCRIPTION
8The
9.B mcgui
10command is the graphical user interface of the McStas package. It has the following features: Loading instruments and editing their descriptions, compiling them, running single simulations, as well as scans of parameters, usage of parallel computation (when available), parameter optimization to maximize monitor values, plotting of simulation results and instrument geometry, access to instrument templates and plenty of documentation.
11.PP
12.B McStas
13is a general tool for simulating neutron scattering instruments and experiments. It is actively supported by
14.I Risoe National Laboratory
15and
16.I ILL
17
18.PP
19McStas is based on a compiler [mcstas(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.
20.PP
21McStas supports triple-axis,  time-of-flight instruments, and polarised neutrons. It comes with a comprehensive manual and a library of well-tested components that include most standard elements of neutron scattering instruments, including steady-state and pulsed sources, monochromators/analysers, guides, collimators, vanadium and powder samples, velocity selectors and choppers, and a variety of detectors.
22.PP
23The package consists of the following user commands:
24.TP
25.B mcgui(1)
26is the graphical user interface. Then use the
27.I Neutron Site
28menu to select an example instrument, and access the whole documentation for the
29.I Help
30menu. It contains an instrument editor, methods to plot simulation results, and much more
31.TP
32mcrun(1)
33is the command-line tool for building and running simulations
34.TP
35mcplot(1)
36is the simulation results plotting tool
37.TP
38mcdisplay(1)
39is the instrument geometry and neutron trajectory viewer
40.TP
41mcdoc(1)
42is the documentation tool
43.TP
44mcstas(1)
45is the instrument compiler
46.TP
47mcconvert(1)
48can convert Matlab data files into Scilab data files, and vice-versa. It also handles data sets with binary encoding. It also handles parameter scan results.
49.TP
50mcformat(1)
51can transform any text data set from one format to an other. It does not support conversion from binary data sets. It can also merge equivalent results.
52.PP
53We encourage users to refer to the User and Component Manuals, which are available with the command
54.B
55mcdoc
56.P
57.SH OPTIONS
58.TP
59file.instr
60loads the specified instrument when starting
61.TP
62\-\-open
63will open the instrument editor window
64.TP
65\-\-edit
66will only open the instrument editor window (no main/simulation window)
67.TP
68\-\-help
69display command help
70.SH EXAMPLES
71.TP
72Typical usage
73.B mcgui
74.TP
75Open the foo.instr instrument
76mcgui foo.instr
77.SH ENVIRONMENT
78The
79.B MCSTAS
80environment 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.
81The McStas configuration file is MCSTAS/tools/perl/mcstas_config.perl
82.P
83The
84.B MCSTAS_FORMAT
85environment variable may be set to define the default data format used for storing results. This is usually 'PGPLOT', 'Matlab', or 'Scilab'.
86.P
87The
88.B
89MCSTAS_CC
90environment variable may be set to define the compiler to use (e.g. gcc)
91.P
92The
93.B
94MCSTAS_CFLAGS
95environment variable may be set to define the options for compilation (e.g. -O2)
96.P
97The
98.B BROWSER
99environment variable may be set to define the default HTML browser to use
100.SH BUGS
101Some implementations of Perl-Tk do not support desktop switching and windows redraw. This may crash mcgui.
102McStas is a large package, and bugs might be found. If so, please report to
103.B http://mcstas.org/McZilla/
104and the mailing list
105.B neutron-mc@risoe.dk
106.SH AUTHOR
107Peter Kjaer Willendrup, Emmanuel FARHI, Kim Lefmann, and Klaus Lieutenant
108.SH SEE ALSO
109mcstas(1), mcrun(1), mcdisplay(1), mcplot(1), mcgui(1), mcdoc(1), mcformat(1), mcconvert(1)
110.P
111web site:     <http://www.mcstas.org>
112.P
113mailing list: <mailto:neutron-mc@risoe.dk>
114.P
115matlab(1), idl(1), scilab(1), octave(1), vitess(1), NISP(1), restrax(1), mcnp(1), tripoli(1)
Note: See TracBrowser for help on using the browser.