McStas logo McStas - A neutron ray-trace simulation package ILL; PSI; ESS Niels Bohr Institute DTU Physics NEXMAP


About McStas
 Conditions of use
 Project funding

 Linux Install (deb/rpm)
 Mac OS X Install
 Unix Install (src code)
 Windows Install
 Other Downloads (share)

Mailing list

Search web/mailinglist

 McStas manual
 Known problems
 C Compilers




Report bugs


McStas Ubuntu live-dvd

McStas: test Instrument at Templates

[ Identification | Description | Input parameters | Output parameters | Links ]

The test Instrument

Instrument short description


  • Site: Templates
  • Author: Your name (email)
  • Origin: Your institution
  • Date: Current Date
  • Version: 0.2


Instrument longer description (type, elements, usage...)

Example: mcrun test.instr 

once your instrument is written and functional:
- replace INSTRUMENT_SITE entry above with your Institution name as a single word
- rename the instrument name after DEFINE INSTRUMENT below
- update the parameter help in the following Parameters section
- update the instrument description, and better add a usage example with a
    sensible parameter set.

Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
Par1 unit Parameter1 description 1


  • Source code for test.instr.
  • A reference/HTML link for more information

[ Identification | Description | Input parameters | Output parameters | Links ]

Generated automatically by McDoc, Peter Willendrup <> / Fri Mar 17 20:40:07 2017

Last Modified: Friday, 17-Mar-2017 21:40:07 CET
Search website mailinglist archive GitHub repos