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

 Other Downloads (share)

Mailing list

Search web/mailinglist

 McStas manual
 Known problems



Links <- UPDATED!

Report bugs


McStas: ILL_IN5_Mantid Instrument at Mantid

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

The ILL_IN5_Mantid Instrument

The IN5B instrument: 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_IN5_Mantid.instr --format=NeXus --no-output-files
  2. Generate the IDF in XML format using the (Perl) mcdisplay tool:
    • mcdisplay ILL_IN5_Mantid.instr -n0 --format=Mantid
  3. Run a simulation with NeXus output
    • mcrun ILL_IN5_Mantid.instr --format=NeXus


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


 The ILL IN5@ILL TOF spectrometer from chopper system 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). This model does not include the H16 guide.

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. 0.05
speed 60*frequency [rpm] chopper speed 8500
ratio 1 velocity of chopper3 = velocity of chopper1 * ratio 0.5
housing string material used as detector housing. Use 0 or NULL for none. "Fe.laz"
coh string sample coherent data file or NULL. Use powder LAZ/LAU or SQW file. "Y3Fe5O12_YIG.laz"
inc string sample incoherent Sqw data file or NULL "NULL"
thickness m thickness of sample. 0=filled 0
height m height of sample. 0=sphere 0.025
radius m radius of sample (outer). 0.005
order 1 order for scattering in sample. O=all, 1=single 0


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

Generated automatically by McDoc, Peter Willendrup <> / Tue May 26 13:03:59 2020

Last Modified: Tuesday, 26-May-2020 15:03:59 CEST
Search website mailinglist archive GitHub repos