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: Reflectometer Instrument at Templates

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

The Reflectometer Instrument

Instrument short description Horizontal reflectometer, multi-angle of incidence


  • Site: Templates
  • Author: Anette Vickery, contact:
  • Origin:(Unknown)
  • Date: November 2011.
  • Version: 0.1


A horizontal reflectometer. The instrument is built of a 2.5 m long mirror and an inclined elliptical guide. The grazing angle is defined by a set of
slits. The sample size is 4cm x 4cm (horizontal sample). 
The role of the mirror is to provide an angle of incidence of up to 4 deg and at the same time avoid a direct line of sight to the source. 
The reflectivity is the ratio between the direct beam reflected beam intensities. Therefore two simulations are needed to get the reflectivity curve:

Example: mcrun Reflectometer.instr -n1e10 directbeam=1,thetasample=0.4,Qmin=0,Qmax=0.15 -d directbeam
Example: mcrun Reflectometer.instr -n1e10 directbeam=0,thetasample=0.4,Qmin=0,Qmax=0.15 -d reflectedbeam

Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
directbeam - =1, 1
Lam_min - =2.0, 2.0
Lam_max - =10, 10
deltatheta - =2, 2
theta_sample - =1, 1
defineAngle - =1, 1
Qmin - =0, 0
Qmax - =0.5, 0.5
straight - =1, 1
width - =0.05 0.05


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

Generated automatically by McDoc, Peter Willendrup <> / Wed Apr 19 10:57:33 2017

Last Modified: Wednesday, 19-Apr-2017 12:57:33 CEST
Search website mailinglist archive GitHub repos