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

Revision 1691, 3.3 KB (checked in by farhi, 6 years ago)

added man mages

Line 
1.TH mcconvert 1  "" "McStas X.Y.Z, Month Day, Year" "USER COMMANDS"
2.SH NAME
3mcconvert \- Matlab/Scilab conversion tool of the McStas neutron ray-trace simulation package
4.SH SYNOPSIS
5.B mcconvert [\-\-format=FORMAT][\-\-indir=IN][\-\-outdir=OUT] [file]
6.SH DESCRIPTION
7The
8.B mcconvert
9command is the Matlab/Scilab conversion tool of the McStas package. It converts Matlab files into Scilab equivalents, and vice-versa. As it works by replacing functions calls, it can handle data sets with binary files, as well as parameter scan data sets.
10.PP
11.B McStas
12is a general tool for simulating neutron scattering instruments and experiments. It is actively supported by
13.I Risoe National Laboratory
14and
15.I ILL
16
17.PP
18McStas 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.
19.PP
20McStas 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.
21.PP
22The package consists of the following user commands:
23.TP
24mcgui(1)
25is the graphical user interface. Then use the
26.I Neutron Site
27menu to select an example instrument, and access the whole documentation for the
28.I Help
29menu. It contains an instrument editor, methods to plot simulation results, and much more
30.TP
31mcrun(1)
32is the command-line tool for building and running simulations
33.TP
34mcplot(1)
35is the simulation results plotting tool
36.TP
37mcdisplay(1)
38is the instrument geometry and neutron trajectory viewer
39.TP
40mcdoc(1)
41is the documentation tool
42.TP
43mcstas(1)
44is the instrument compiler
45.TP
46.B mcconvert(1)
47can 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.
48.TP
49mcformat(1)
50can 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.
51.PP
52We encourage users to refer to the User and Component Manuals, which are available with the command
53.B
54mcdoc
55.P
56.SH OPTIONS
57.TP
58\-\-format=FORMAT
59Specifies wanted output format, i.e. Matlab or Scilab
60.TP
61\-\-outdir=DIR
62Specifies wanted output directory
63.TP
64\-\-indir=DIR
65Specifies wanted input directory. Default is current directory.
66.TP
67\-\-quiet
68Suppress status info (e.g. 'mcstas.m \-> mcstas.sci')
69.SH EXAMPLES
70.TP
71Typical usage
72.B mcconvert
73\-\-format=Matlab \-\-indir=SciData \-\-outdir=MatData
74.SH BUGS
75McStas is a large package, and bugs might be found. If so, please report to
76.B http://mcstas.org/McZilla/
77and the mailing list
78.B neutron-mc@risoe.dk
79.SH AUTHOR
80Peter Kjaer Willendrup, Emmanuel FARHI, Kim Lefmann, and Klaus Lieutenant
81.SH SEE ALSO
82mcstas(1), mcrun(1), mcdisplay(1), mcplot(1), mcgui(1), mcdoc(1), mcformat(1), mcconvert(1)
83.P
84web site:     <http://www.mcstas.org>
85.P
86mailing list: <mailto:neutron-mc@risoe.dk>
87.P
88matlab(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.