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



Links <- UPDATED!

Report bugs


McStas Ubuntu live-dvd

McStas: ILL_H16_IN5_Mantid Instrument at Mantid

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

The ILL_H16_IN5_Mantid Instrument

The full ILL IN5B ToF spectrometer adapted for use with Mantid-friendly NeXus output.


  • Site: Mantid
  • Author: E. Farhi, J. Ollivier, Celia Castan Guerrero
  • Origin: Mantid
  • Date: Jan 2004-2009
  • Version:(Unknown)


  The full ILL IN5B: H16 guide & chopper system + sample + PSD and tof detector, adapted for
  use with Mantid-friendly NeXus output. To compile and run, use these steps:

  1. Compile the instrument with NeXus support - zero neutrons:
    • export MCSTAS_CFLAGS="-g -lm -O2 -DUSE_NEXUS -lNeXus"
    • mcrun -c -n0 --format=NeXus ILL_H16_IN5_Mantid.instr --no-output-files
  2. Generate the IDF in XML format using the (Perl) mcdisplay tool:
    • mcdisplay ILL_H16_IN5_Mantid.instr -n0 --format=Mantid
  3. Run a simulation with NeXus output
    • mcrun ILL_H16_IN5_Mantid.instr --format=NeXus
The IN5@ILL TOF spectrometer from cold source to final detector, with sample. The detector model includes Fe housing and tube cross talk absorbing masks with angle restriction (neutrons that scatter in Fe in front of a tube and enter a different tube are absorbed).

Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
lambda AA mean incident wavelength 4.5
dlambda AA wavelength half width. Use e.g. 0.8*lambda for white beam. 0.09


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

Generated automatically by McDoc, Peter Willendrup <> / Tue May 29 09:12:10 2018

Last Modified: Tuesday, 29-May-2018 11:12:10 CEST
Search website mailinglist archive GitHub repos