Skip to content
Snippets Groups Projects
Commit dcae6ca3 authored by James Tricker's avatar James Tricker Committed by Anders Markvardsen
Browse files

formatting

parent f2bebcd0
No related branches found
No related tags found
No related merge requests found
......@@ -63,18 +63,18 @@ and for Mac:
`-DUSE_NEXUS -lNeXus -L/usr/local/lib -I/usr/local/include`
With the configurations above, running a regular simulation will now produce a NeXus file with the .h5 extension which can
be loaded into Mantid using :ref:`LoadMcStas <algm-LoadMcStas>`__.
Creating Instrument Definition Files
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If we now load up our .instr file in McStas and select Run then unders Simulation set Simulation/Trace to Trace.
If we now load up our .instr file in McStas, select Run then under Simulation set Simulation/Trace to Trace.
When we start this simulation McStas should now automatically output an Instrument Definition File with a .xml extension containing the minimal information required by Mantid to lay out the instrument. If we want to include all components then we can run from the mcshell:
* Windows: `mcdisplay-pl templateSANS_Mantid.instr --format=Mantid -n0 --complete`
* Mac/Linux: `mccdisplay templateSANS_Mantid.instr --format=Mantid -n0 --complete`
With the configurations above, running a regular simulation will now produce a NeXus file with the .h5 extension which can
be loaded into Mantid using :ref:`LoadMcStas <algm-LoadMcStas>`__.
References
----------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment